KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to use the form method checkValidity(). http://html5test.com/ tells me that my browser (Chrome) support the form-level checkValidity method. However, using jsfiddle http://jsfiddle.net/LcgnQ/2/ I have tried the following html and javascript snippets: <form id="profileform" name="profileform"> <input type="text" id="firstname" required> <input type="button" id="testbutton" value="Test"> </form> $('#testbutton').bind('click',function(){ try{ alert($('#profileform').checkValidity()); } catch(err){alert('err='+err)}; }); I'm getting an error: object has no method checkValidity() What am I doing wrong?
Tags (comma-separated)
Save Edits
Cancel