Skip to content

Commit bc952c2

Browse files
author
Adam Rich
committed
Validate number field
1 parent 0d312db commit bc952c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ $.extend($.validator, {
306306
validator.settings[eventType] && validator.settings[eventType].call(validator, this[0] );
307307
}
308308
$(this.currentForm)
309-
.validateDelegate(":text, :password, :file, select, textarea, [type=email], [type=url], [type=search], [type=tel]", "focusin focusout keyup", delegate)
309+
.validateDelegate(":text, :password, :file, select, textarea, [type=email], [type=url], [type=search], [type=tel], [type=number]", "focusin focusout keyup", delegate)
310310
.validateDelegate(":radio, :checkbox, select, option", "click", delegate);
311311

312312
if (this.settings.invalidHandler)

0 commit comments

Comments
 (0)