Commits

roughley  committed 63c2d83

fixes for IE to enable ajax validation within an ajax form

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@1946573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits 00d3cca

Comments (0)

Files changed (1)

File src/java/template/xhtml/validation.js

 function clearErrorMessages(form) {
+
     var table = form.childNodes[1];
+    if( typeof table == "undefined" ) {
+        table = form.childNodes[0];
+    }
 
     // clear out any rows with an "errorFor" attribute
     var rows = table.rows;