ppcguy wrote:
> i've got a login page with name and password and
> would like the form to be submitted with the
> user presses on either of the two input fields.
>
> it works if i do this
>
> <INPUT TYPE="Submit" NAME="Submit" VALUE="Login">
>
> but does not for this:
>
> <INPUT TYPE="Button" NAME="Submit" VALUE="Login"
> onclick="onSaveClicked(this)">
>
> help!!!
Why would you ever want to use the latter if the former works? The simpler
form gives you the correct behaviour by default...
Roy
--
Roy S. Schestowitz
http://Schestowitz.com
|