commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Poinsard (JIRA)" <j...@apache.org>
Subject [jira] Created: (VALIDATOR-201) jcv_retrieveFormName pb with IE 5.5 and form containing an html select named id
Date Wed, 27 Sep 2006 11:53:50 GMT
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message