We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5ac242 commit e371d3fCopy full SHA for e371d3f
src/core.js
@@ -278,7 +278,7 @@ $.extend( $.validator, {
278
38, 39, 40, 45, 144, 225
279
];
280
281
- if ( event.which === 9 && this.elementValue( element ) === "" || excludedKeys.indexOf( event.keyCode ) !== -1 ) {
+ if ( event.which === 9 && this.elementValue( element ) === "" || $.inArray( event.keyCode, excludedKeys ) !== -1 ) {
282
return;
283
} else if ( element.name in this.submitted || element === this.lastElement ) {
284
this.element( element );
0 commit comments