Created
April 25, 2012 00:15
-
-
Save patelc75/2484796 to your computer and use it in GitHub Desktop.
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
| jQuery.validator.addMethod('state_filled', function(value) { | |
| return $("#person_address_state").val() != ""; | |
| }, jQuery.format('State cannot be blank')); | |
| undefined | |
| $.validator.addMethod('state_filled', function(value) { | |
| return $("#person_address_state").val() != ""; | |
| }, 'State cannot be blank'); | |
| undefined |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting
undefinedabove. Any ideas?Similar to
wire's vendor/assets/javascripts/jquery/jquery.validate.additionalMethods.js