Last active
October 5, 2019 22:33
-
-
Save aslamanver/62d2e0da4e15db028591163d9a791304 to your computer and use it in GitHub Desktop.
jQuery custom localized validation error messages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- If you have already jQuery script, then do not add this line --> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
<!-- abValidate Library --> | |
<script type="text/javascript" src="https://raw.githubusercontent.com/aslamanver/abvalidate/master/abValidate.min.js"></script> | |
<link rel="stylesheet" href="https://raw.githubusercontent.com/aslamanver/abvalidate/mast |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function () { | |
//.ab-form is your form class | |
$(".ab-form").abValidate(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment