[thelist] Re: Javascript conditional help
Graham Bird
gbird at cambridge.org
Wed Oct 3 03:01:51 CDT 2001
Hi,
Another way might be to set the form action to nothing? That would
effectively disable it.
document.myForm.action = "";
Graham Bird
>>Greetings
>>I'm trying to add two javascript validations using the "OnSubmit" handler
>>together so that OnSubmit first a) validates the fields being empty and if
>>the fields are not empty b) disables the submit button for future use.
>>I can't seem to get them to work together, and have spent a week filtering
>>through javscript manuals trying to learn enough about conditionals to
>>figure it out.
>>I'm trying to glue validateForm and disableForm together.
More information about the thelist
mailing list