B
Bob Rivers
Hi,
Is it possible to verify, using js, if ANY item in a form has changed?
For example: I have a <form> with multiple items (<input>, <select>,
<textarea>, etc). I need to track if one (or more) of this items has
changed by a user.
One option, is to put a onChange event in each one of these fields
and, if the event occurs, I will update a hidden input to indicate
that something changed on the form.
But, the problem is that my form is big, and I was wondering if I
could check this situation by invoking something like
if(document.form[0].changed)...
Is it possible?
TIA,
Bob
Is it possible to verify, using js, if ANY item in a form has changed?
For example: I have a <form> with multiple items (<input>, <select>,
<textarea>, etc). I need to track if one (or more) of this items has
changed by a user.
One option, is to put a onChange event in each one of these fields
and, if the event occurs, I will update a hidden input to indicate
that something changed on the form.
But, the problem is that my form is big, and I was wondering if I
could check this situation by invoking something like
if(document.form[0].changed)...
Is it possible?
TIA,
Bob