Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    javascript exception NS_ERROR_XPC_JS_THREW_STRING

    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.

    Thanks.

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    10,968
    Thanks
    0
    Thanked 236 Times in 233 Posts
    autocomplete="off" should fix it. Can you post a sample page?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •