By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,564 Members | 1,070 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,564 IT Pros & Developers. It's quick & easy.

help: browser autofill prevents any events from firing

P: 34
I have onchange in my javascript and there is no bug in the code. However, whenever a user uses the autofill feature in the browser, none of my javascript events are ever fired. This causes none of my functions to be called.

Is there a way to listen for autofill events? such as onautofill?

Dec 1 '07 #1
Share this Question
Share on Google+
3 Replies

Expert Mod 15k+
P: 16,027
There's no onautofill event, but you could check for changes if onchange doesn't fire. Is it onchange that doesn't fire? Can you show some of your code?
Dec 1 '07 #2

P: 34
I got around the problem by adding a autofill=false in the attribute section.
Dec 4 '07 #3

Expert Mod 15k+
P: 16,027
That won't be a standard attribute, so you could possibly set it from your JavaScript.

Glad you got it working anyway.
Dec 5 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.