Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Permission denied to set property xulelement.selectedIndex FireFox Error

When using the Javascript focus() method to set focus to an input element in Firefox, the following Error may be produced:

Permission Denied to set property xulelement.selectedIndex

This is a known bug in FireFox which, based on my research, was supposed to be fixed several versions ago.  To avoid this error, autocomplete needs to be turned off for the element in question.  This can be accomplished:

Via JavaScript, using element.setAttribute('autocomplete','off');

Or

Via HTML using autocomplete=”off”.

I have read that this error is also produced with the JavaScript select() method but have been unable to reproduce it.



This post first appeared on Demtron.com Blog | Milwaukee Area SEO, SEM, ASP, please read the originial post: here

Share the post

Permission denied to set property xulelement.selectedIndex FireFox Error

×

Subscribe to Demtron.com Blog | Milwaukee Area Seo, Sem, Asp

Get updates delivered right to your inbox!

Thank you for your subscription

×