I'm working on an auto tabbing plugin and keep getting an odd error
from Firebug. In my example I have three text fields that serve the
purpose of typing a phone number. If what I begin typing matches
previously entered numbers, Firefox will display autocomplete matches.
After three numbers, my script automatically tabs to the next field,
but I get the following error:

[Exception... "'Permission denied to set property
XULElement.selectedIndex' when calling method:
[nsIAutoCompletePopup::selectedIndex]"  nsresult: "0x8057001e
(NS_ERROR_XPC_JS_THREW_STRING)"  location: "JS frame :: jquery.js ::
anonymous :: line 2039"  data: no]
jquery.js
Line 2039

I am able to prevent the error from appearing by alerting prior to
setting the focus to the next field. If I type a set of numbers not
previously entered, the error does not occur as well. Because of this,
I believe the issue is in jQuery and not with my plugin. I can
replicate this error and provide a sample page if necessary. Thanks.

Reply via email to