Actually that's how the screen should work. The "No" button should be the one highlighted and not the "Yes" when clicking or entering data on the textbox. It worked upon load... but when I clicked on the textbox, it goes back on highlighting the "Yes" button. :( Please help me on this one. Thanks!
--- Peter Brunone <[EMAIL PROTECTED]> wrote: > > What's the purpose of highlighting the second > button? Maybe we > can achieve your goal another way. > > -----Original Message----- > From: Nice Guy [mailto:[EMAIL PROTECTED] > > Hi! > > I have a problem regarding focusing on a specific > button. I'm using ASP.Net and C#.Net. I have two > buttons - "Yes" (btnYes) and "No" (btnNo). I want to > highlight the "No" button upon loading, so I used > onfiltered="document.frmBody.btnNo.focus()" in the > <body> tag. I have > another control, "txtData" - textbox, in the screen. > On first load, it > highlights the btnNo control. If I highlight the > txtData control, the > screen keeps on highlighting the btnYes control and > not the btnNo. Could > you please help me on this one. I need to highlight > the btnNo button as > long as it is on that specific web page. Thanks a > lot for helping! :) > > > _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
