View Full Version : javascript exception NS_ERROR_XPC_JS_THREW_STRING

01-19-2006, 10:03 AM
Hi experts,

I am facing the following exception in an alert call in my javascript code.

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 :: ....
Source File: ....

I am facing this issue only in Firefox. Can someone let me know how to overcome this issue. I tried adding autocomplete="off" in the <INPUT ...> elements in the HTML file but that did not help. Appreciate your help in advance.


01-19-2006, 11:29 AM
autocomplete="off" should fix it. Can you post a sample page?