[thelist] JS: Calling forms submit action if there is a form element with the same name
Joshua Olson
joshua at waetech.com
Thu Dec 12 13:25:01 CST 2002
----- Original Message -----
From: ".jeff" <jeff at members.evolt.org>
Sent: Thursday, December 12, 2002 1:59 PM
> no. once a form variable named submit is parsed the submit() method is
> overwritten with the an object to the submit element. however, you can
call
> it indirectly by calling the click() method of the submit button which
will
> hopefully accomplish the same thing.
And if there are multiple buttons named submit? Or the submit button has a
onclick handler that we want to avoid?
-joshua
More information about the thelist
mailing list