[thelist] Calling onSubmit from within a script

Gerd Baumann gb at inetwire.com
Wed Mar 21 00:07:46 CST 2001


> At 12:20 PM 3/20/2001, you wrote:
>
> >document.f.pw.onSubmit = noInput;
>
> Put this into your form tag:
>
>          <form name="blah" action="blah.cgi"
>          mehtod="Post" onSumbit="return noInput();">

Hi Anthony,

that's what I'm doing right now - sorry for being unclear. I'm wondering
why this wouldn't validate as xhtml - there is no attribute "onSubmit" for
the form element. So I figured I might be able to call the onSubmit from
within the javascript part..

Thanks for your kind help.

Gerd





More information about the thelist mailing list