Google Toolbar autofill doesn't fire change events

N

Nik Coughlin

I'm doing some ajax validation on form fields, using the form change event.
If I click Autofill in the Google Toolbar, fields are filled out but the
change event is never fired, so the validation doesn't update. I could user
a timer but that just smells wrong to me.

Any other way to reliably tell if a form has changed or even if I could
detect that autofill has been used somehow
 
N

Nik Coughlin

Nik Coughlin said:
I'm doing some ajax validation on form fields, using the form change
event. If I click Autofill in the Google Toolbar, fields are filled out
but the change event is never fired, so the validation doesn't update. I
could user a timer but that just smells wrong to me.

Any other way to reliably tell if a form has changed or even if I could
detect that autofill has been used somehow

Did a lot of searching and couldn't find an answer. So for now I'm going
with the nasty timer method, store all the form values that I'm interested
in, and every couple of seconds check if they've changed, if so call the
validation and updated the stored values. Works well but still feels a bit
yucky...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top