Showing posts with label Validation. Show all posts
How to Compare two fields with jQuery validate plugin?
Consider the following HTML.
<input type="text" id="txtEmail" name="Email" />
<input type="text" id="txtConfirmEmail" name="ConfirmEmail" />
The following script is used to Compare two fields with jQuery validate plugin.
$('#myform').validate({
.