Hi,
U can use this in Body
onkeydown="if(event.keyCode == 13){document.getElementById
('imgBTnSearch').click();}
--- In [email protected], "Ali Husain"
<[EMAIL PROTECTED]> wrote:
> Hi guys... anyone know of an easy way to set the focus off a
particular
> button on the page.... For some reason one of my pages that has 2
> buttons, it happens to be the logout button that gets focus so when
the
> user hits ENTER on their keyboard it logs them out instead of
> submitting.
>
>
>
> [Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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/