[Javascript] disabling form on submit

Hugo Ahlenius Hugo.Ahlenius at grida.no
Tue May 25 03:21:19 CDT 2004


| Anyway, did the original poster ever get their page working
| as desired?  If so, which (if any) of the suggestions from
| the group did the trick?

The Original Poster speaking: I haven't tried any of the suggestions,
since they don't offer me more than I have -- currently I have an
include that disables all form elements after submit, but I need to add
code for the "onsubmit" event of the form tag (my goals is to avoid
that).

But the discussion gave me an idea: one could, on the submit event a)
create a bunch of hidden form elements duplicating the existing ones,
and b) then disable the non-hidden form elements.
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft
Exchange.
For more information, connect to http://www.F-Secure.com/




More information about the Javascript mailing list