Skip to content Skip to sidebar Skip to footer

Checking Html 5 Validation Is Successful Or Not

I need to check whether HTML 5 native validation is successful or not. Based on this I need to call an ajax function. An example code is here. http://jsfiddle.net/inDiscover/4Pbcp/

Solution 1:

The checkValidity() method (part of the HTML5 validation API) should do what you need. This tutorial is very helpful in explaining the native HTML5 form validation methods: http://www.html5rocks.com/en/tutorials/forms/constraintvalidation/.


Post a Comment for "Checking Html 5 Validation Is Successful Or Not"