Hi all,
I understand that if I put a submit button on a page, that button becomes the default button (ie, just press enter and the submit button activates)
However, if i want to do some validation before I submit the form, I use an input=button. However, when I do that, that button doesnt receive the focus automatically and the use has to manually click on it.
The Q is, how do i enable the default status of a button just like it were a submit button ?
Thanks.




Reply With Quote