Forum Moderators: open
I keep getting this error in the Javascript Console in FireFox:
---------------
Error: [Exception... "'Permission denied to get property XULElement.selectedIndex' when calling method: [nsIAutoCompletePopup::selectedIndex]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: [192.168.0.58...] :: finalize :: line 270" data: no]
Source File: [192.168.0.58...]
Line: 270
----------------
The script executes fine, but for some reason I keep getting this error (in the background - in the javascript console) and I can't trace/fix it no matter what...
It happens when I try to set focus on a textbox (elementXYZ.focus()) when the user skipped a required field.
Any ideas what it could be?
Thanks!