Multiple Forms and the Return Key Focus
Hi All
I have a great question...
I have and asp.net page which consists of 2 separate functions
(1)search function - consists of textbox and a button
(2)contact form - consists of a couple of textboxes and a button
Is there a way I can make it so that if the user is filling in the search textbox and then press the Return key it submits the search button and vice versa, if they are completing the contact form and press Return, it submits the contact form button?
In the old days separate form tags used to acheive this but as both functions are within the same set of form tags this isn't available.
Many thanks in advance
Rit
__________________
Rit
www.designandonline.co.uk
INSPIRE | CREATE | DELIVER
|