![]() |
|
|
+ Search |
![]()
|
May 15th, 2005 02:44
Seth Riedel, Naveen Sydney, http://sethworld.net
I'm not sure of the difference, but consider this: For forms it is much bettter to use a normal button (not submit button) with the onclick="action()" rather than using a submit button and onsubmit. With javascript you can tell a form to be submitted with this code: document.forms.formname.submit() This is much more controllable than using onsubmit action.