b a d p o p c o r n

Keypress & AutoComplete in Firefox

Written by Moe on October 12, 2006 |

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


1 Comment »

  1. 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

RSS feed for comments on this post. | TrackBack URI

Leave a comment

XHTML ( You can use these tags): <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .