jcv_retrieveFormName pb with IE 5.5 and form containing an html select named id
-------------------------------------------------------------------------------
Key: VALIDATOR-201
URL: http://issues.apache.org/jira/browse/VALIDATOR-201
Project: Commons Validator
Issue Type: Bug
Components: JavaScript
Affects Versions: 1.3.0 Release
Environment: Using IE 5.5 (on Windows 2000) and trying to validate an
html form containing an html select named id
Reporter: Xavier Poinsard
Using IE 5.5 and trying to validate an html form containing an html select
named id,
the jcv_retrieveFormName is confused and return the html select instead of the
form name.
I get it working by checking the id was a string by replacing (in
validateUtilities.js)
if (form.getAttribute("id")) {
by
if (form.getAttribute("id") && form.getAttribute("id") instanceof String) {
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]