Keypress & AutoComplete in Firefox
If you have a javascript console open while using the firefox browser you’ll notice this error from time to time.
Error: [Exception… “‘Permission denied to get property XULElement…”
It doesn’t cause any problems with the site other then the error popping up and guess what…it works fine in IE. Why? So i searched around and I think it might be an autocomplete/keypress bug in firefox. Just add the attribute “autocomplete=off” to any input that you catch keypress event on.
input type=”text” autocomplete=”off” name=”BadPopcornIsBetterThenYou”
The only reason I fixed the error was because I really like using the JavaScirpt Console in firefox. It is quite annoying when this error pops up every keypress…so like a million times. So yea, fyi for you.
Posted in Life Stuff
![[del.icio.us]](http://badpopcorn.com/blog/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://badpopcorn.com/blog/wp-content/plugins/bookmarkify/digg.png)
![[Google]](http://badpopcorn.com/blog/wp-content/plugins/bookmarkify/google.png)
![[StumbleUpon]](http://badpopcorn.com/blog/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Windows Live]](http://badpopcorn.com/blog/wp-content/plugins/bookmarkify/windowslive.png)
![[Yahoo!]](http://badpopcorn.com/blog/wp-content/plugins/bookmarkify/yahoo.png)
![[Email]](http://badpopcorn.com/blog/wp-content/plugins/bookmarkify/email.png)
re: to your comment…. i only had the chance to meet one person from couchsurfing, as i was only in twon for about 48 hours, but she was great, and belgrade was great. you will have to visit there some time!
Comment by Sandie — October 16, 2006 @ 12:38 am