Last post Apr 01, 2010 04:45 PM by levib
Apr 01, 2010 06:49 AM|Tomer77|LINK
This function dont work well on chrome browser.
doing submitButton.disableValidation is not supported in chrome as you cant access custom property on html elemtn this way.
what you need to do is submitButton.getAttribute("disableValidation") instead.
Also, having upper case letter in html attribute is not supported by the standard.
How can this get fixed?
Apr 01, 2010 04:45 PM|levib|LINK
This feature is not activated by using attributes on the input element. For example, the following is
incorrect as it will produce non-validating HTML / XHTML:
<input type="submit" id="theSubmitButton" disableValidation="true" />
The correct way to activate the feature is to get the DOM element corresponding to the submit button and set an expando on it:
document.getElementById("theSubmitButton").disableValidation = true;