Categorized | CODE

jQuery Validation

Posted on 09 July 2010 by admin

The code sample below is using the plugin ‘syntaxhighlighter’; Usage as follows:

[codetype] – where codetype is language (i.e. javascript, c#, etc)

//code sample

[codetype]

Working example follows (check the source of the post in HTML view for more info:


$("#CustomerForm").validate({
rules: {
FirstNameEdit: { required: true },
LastNameEdit: { required: true },
EmailEdit: { required: true, email:true }
}
});

Leave a Reply

Advertise Here
-->
-->