[Javascript] Form change
Peter Lauri
lists at dwsasia.com
Mon May 29 00:52:20 CDT 2006
Best group member,
This is my first message to this Mailing List, and this question has
probably been discussed, but I did not find any search function in the
archive at https://lists.LaTech.edu/mailman/listinfo/javascript
I have a form that I do some check via JavaScript. When the form gets focus
or loses focus I would like to do check the input fields. This is how I do
it now:
<form>
<input onChange="checkFormData();">
<input onChange="checkFormData();">
<input onChange="checkFormData();">
</form>
But I would like it to be:
<form onChange="checkFormData();">
<input>
<input>
<input>
</form>
According to reference material online (w3schools.com) there is no function
to execute script if form has been changed.
Have I been searching in the wrong reference materials? Or can this be done?
Best regards,
Peter Lauri
More information about the Javascript
mailing list