Client Side validation through JQuery

JQuery provides client side validation so one can validate isRequired, maxlength, isNumeric, isEmail

<script type="text/javascript" src=" jquery-1.4.3.min.js"></script>       
        <script type="text/javascript" src=" jquery.validate.js"></script>

$(document).ready(function() {
                    rules: {
                        studentName:{required:true,maxlength: 200}
                    messages: {

                        studentName:{required:"<div  style=”color : red”>Please Enter Student Name.</div>",
                            maxlength:"<div class='reqF_1'>Maximum 200 Characters are allowed.</div>"}
This entry was posted in JQuery. Bookmark the permalink.

2 Responses to Client Side validation through JQuery

  1. Sachin says:

    gr8 man!!keep it up!!!!!!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s