jquery validate rules for only number

 $('#myform').validate({
        rules: {
            name: {
                required: true
            },
            mobileno: {
                required: true,
                number: true,
                minlength: 10,
                maxlength: 10
            }
}
});

Comments

Popular posts from this blog

Script For Login, Logout and View Using PHP, MySQL and Bootstrap

Hyperledger Development with in 10 days — Day 6

Insert CheckBox and Radio button Data in MySQL Database Using PHP