the static js generated from:

<html:javascript dynamicJavascript="false" staticJavascript="true"/>

throws the following error to the firefox javascript console:

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 :: http://media:8080/tomcat/acl/Validation.jsp :: validateRequired :: line 258" data: no]
Source File: http://media:8080/tomcat/acl/Validation.jsp
Line: 258



the js that throws the error is the alert at the end of the function:

validateRequired(form) {

..........
.........
.........
        }
        if (fields.length > 0) {
           focusField.focus();
           alert(fields.join('\n'));  // this line causes the error
        }
        return isValid;
    }

other alerts in the js throw the same error. The javascript seems to work fine though.

Firefox bug?

cheers
Nathan


-- Nathan Coast Managing Director Codeczar Ltd mob : (852) 9049 5581 tel : (852) 2834 8733 fax : (852) 2834 8755 web : http://www.codeczar.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to