Search This Blog

Tuesday, May 19, 2015

How to validate form using JQuery?

To validate a form use below code
var frmX = $("#formName");

var IsValid = frmX.valid();

Note: .valid() method validate the form and return boolean value which shows whether the form is valid or not.....