Direktori : /home/athamevents/www/admin/assets/lib/jquery-validation/src/additional/ |
Current File : /home/athamevents/www/admin/assets/lib/jquery-validation/src/additional/time12h.js |
$.validator.addMethod("time12h", function(value, element) { return this.optional(element) || /^((0?[1-9]|1[012])(:[0-5]\d){1,2}(\ ?[AP]M))$/i.test(value); }, "Please enter a valid time in 12-hour am/pm format");