[thelist] onclick="this.submit.button.is.disabled.and.greyed.out" ?
Chris Blessing
webguy at mail.rit.edu
Mon Sep 23 09:55:05 CDT 2002
Dunstan-
I'd do it in the form onsubmit handler instead. This ensures that the form
actually got submitted, as I know I've experienced times where I clicked a
button on a form and nothing (no web request sent) was done.
<HTML>
<HEAD>
<BODY>
<FORM NAME="form1" ACTION="test.htm" onSubmit="this.sbmt.disabled = true;">
<INPUT TYPE="text" NAME="texttest">
<INPUT TYPE="submit" NAME="sbmt" VALUE="send">
</FORM>
</BODY>
</HTML>
Chris Blessing
webguy at mail.rit.edu
http://www.330i.net
> Is there a bit of JS that will say
> onclick="this.submit.button.is.disabled.and.greyed.out" ?
>
>
> Once the images have uploaded the page reloads so I guess the button would
> return to normal again.
>
> Thanks very much - dunstan
More information about the thelist
mailing list