Click to See Complete Forum and Search --> : Form Action On Click of Enter Button


moonoo1974
November 26th, 2003, 08:57 PM
Hi ,
I have two text fiields with two search buttons on side of these text fields. These buttons are of type submit as i am sending the serach data to the server . On pressing enter on the first text box
the OnClick method of the first button is being called(which it shoud be) . But on pressing enter on the second text box the OnClick of the first button is called . I have tried to adjust the tab order . But seems this also is not working . Is there someway i can force where on pressing enter on the second text field , the second buttons onClick method is called .
I am using IE..
Thanks

professorX
November 27th, 2003, 01:54 AM
can You write this code?