The validator element() method delegates to check(). When check() is passed a radio or checkbox input element (call it 'A'), it instead checks the first element with the same name in the form (call it 'B'). If element B is judged invalid, a bug occurs. Element A will have been added to the currentElements array, but element B is what is added to the errorList. So, when showErrors is called, element A will be in validElements(), and will be unhighlighted. This is fixed by having element() also change its target to be the first element of the same name when passed a checkbox or radio input. Signed-off-by: Eric Naeseth <email@example.com>
…2h am/pm time format
…ng too long" to display after sometime. This is tested with jQuery 1.4.4 and Validation Plugin 1.8.1 When investigating the library itself the problem turned to be that this line is causing the slowness: this.find("input, button"). The code modifications make the caches the jQuery object rather than querying again, thus, saving valuable resources.
…but unwanted here). Fixes #143
…nd reading the type attribute. Fixes #7
…y settings.validClass. Fixes #151.
…f qSA. Use type=email on main demo for some manual verification. Update changelog.
…ero valida", "numero" is a "masculine" word, so we say "numero valido" instead of "numero valida"'
…ame group for required validation.
ITs buggy as hell anyway (IE6-8: form.elements === form).
gh-pages). Also clean up unnecessary tests for .php files, had several bugs anyway.