Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Form change


  • From: lists at dwsasia.com (Peter Lauri)
  • Subject: [Javascript] Form change
  • Date: Mon May 29 06:13:31 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