G
Guest
I received a design change to add an additional search textbox to our header
control for completely different type of search than one on the left side of
the page. Each search textbox is submitted by different linkbuttons to allow
me to handle each click event on the postback.
My problem is handling what happens when a user presses ENTER. I could trap
the Keypress event to check that they've entered text by checking which
textbox has focus and if they did, call the click() event, but I don't see a
way to determine focus in javascript. Any suggestions would be appreciated in
handling these multiple forms.
Thanks.
control for completely different type of search than one on the left side of
the page. Each search textbox is submitted by different linkbuttons to allow
me to handle each click event on the postback.
My problem is handling what happens when a user presses ENTER. I could trap
the Keypress event to check that they've entered text by checking which
textbox has focus and if they did, call the click() event, but I don't see a
way to determine focus in javascript. Any suggestions would be appreciated in
handling these multiple forms.
Thanks.