J
Jake Barnes
I can not figure out the meaning of this error:
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 ::
http://www.bluecasts.com/pdsIncludes/pdsAjax.js :: submitAnyForm ::
line 635" data: no]
Source File: http://www.bluecasts.com/pdsIncludes/pdsAjax.js
Line: 635
lin3 635 is the line below with formReference.submit();
function submitAnyForm(myform) {
if (document.getElementById(myform)) {
var formReference = document.getElementById(myform);
if (formReference) {
if (formReference.elements["choiceMade"]) {
var choiceMade = formReference.elements["choiceMade"];
var choiceValue = choiceMade.value;
}
// 03-23-06 - getting a weird error - "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 ::
http://www.bluecasts.com/pdsIncludes/pdsAjax.js :: submitAnyForm ::
line 626" data: no]
// Source File:
http://www.bluecasts.com/pdsIncludes/pdsAjax.js
// Line: 626
// so I'm adding this next check to make sure the reference
has a method called "submit".
if (formReference.submit) {
formReference.submit();
} else {
alert("There is no submit method for the form " +
myform);
}
} else {
alert("The element" + myform + " was not a form. We got
this: " + formReference);
}
} else {
alert("We could not find a form called " + myform);
}
}
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 ::
http://www.bluecasts.com/pdsIncludes/pdsAjax.js :: submitAnyForm ::
line 635" data: no]
Source File: http://www.bluecasts.com/pdsIncludes/pdsAjax.js
Line: 635
lin3 635 is the line below with formReference.submit();
function submitAnyForm(myform) {
if (document.getElementById(myform)) {
var formReference = document.getElementById(myform);
if (formReference) {
if (formReference.elements["choiceMade"]) {
var choiceMade = formReference.elements["choiceMade"];
var choiceValue = choiceMade.value;
}
// 03-23-06 - getting a weird error - "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 ::
http://www.bluecasts.com/pdsIncludes/pdsAjax.js :: submitAnyForm ::
line 626" data: no]
// Source File:
http://www.bluecasts.com/pdsIncludes/pdsAjax.js
// Line: 626
// so I'm adding this next check to make sure the reference
has a method called "submit".
if (formReference.submit) {
formReference.submit();
} else {
alert("There is no submit method for the form " +
myform);
}
} else {
alert("The element" + myform + " was not a form. We got
this: " + formReference);
}
} else {
alert("We could not find a form called " + myform);
}
}