S
S Wickes
I've become suspicious that the submit button does not count as an
onChange event in some browsers. Here's why.
I have a form with many textareas. After you click submit, I only
update the database with those textareas which were changed.
Thus, each textarea has an onChange event which marks that box as
changed.
BUT! Some users report that, if they don't take their cursor out of
the last text box they were editing, the text in that last textarea
does not get written to the database. (In other words, the onchange
event in that last textarea never got triggered.)
My question: With some browsers, if you leave your cursor parked in
the last box you were editing, and then press submit, why is onChange
not being triggered?
Thanks to all who respond,
Steve
onChange event in some browsers. Here's why.
I have a form with many textareas. After you click submit, I only
update the database with those textareas which were changed.
Thus, each textarea has an onChange event which marks that box as
changed.
BUT! Some users report that, if they don't take their cursor out of
the last text box they were editing, the text in that last textarea
does not get written to the database. (In other words, the onchange
event in that last textarea never got triggered.)
My question: With some browsers, if you leave your cursor parked in
the last box you were editing, and then press submit, why is onChange
not being triggered?
Thanks to all who respond,
Steve