Browse files

Add two more input types, useful in Mobile Safari, to the list of sel…

…ectors used for onfocus validations.
  • Loading branch information...
1 parent 5ad20a9 commit d7d2e576fbd9d13e2a09c868cd44578d4c06fa60 Cameron Walters + Charles Finkel committed with Cameron Walters + Chillpack Jan 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.validate.js
@@ -303,7 +303,7 @@ $.extend($.validator, {
validator.settings[eventType] && validator.settings[eventType].call(validator, this[0] );
- .validateDelegate(":text, :password, :file, select, textarea", "focusin focusout keyup", delegate)
+ .validateDelegate(":text, :password, :file, select, textarea, input[type=number], input[type=tel]", "focusin focusout keyup", delegate)
.validateDelegate(":radio, :checkbox, select, option", "click", delegate);
if (this.settings.invalidHandler)

0 comments on commit d7d2e57

Please sign in to comment.