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

PHP Ajax Login Validation Tutorial

Real-Time Web Interface to MQTT using Socket.io and Node.js

New User Registration With Email Verification Using PHP and Mysqli