Direktori : /home/athamevents/www/admin/assets/lib/jquery-validation/src/additional/ |
Current File : /home/athamevents/www/admin/assets/lib/jquery-validation/src/additional/time.js |
$.validator.addMethod("time", function(value, element) { return this.optional(element) || /^([01]\d|2[0-3])(:[0-5]\d){1,2}$/.test(value); }, "Please enter a valid time, between 00:00 and 23:59");