mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 13:15:58 +08:00
Updated the tests test JQuery param.
Added a new test to validate that the element union now accepts JQuery object.
This commit is contained in:
@@ -187,6 +187,7 @@ function test_methods() {
|
||||
});
|
||||
$("#myform").validate().form();
|
||||
$("#myform").validate().element("#myselect");
|
||||
$("#myform").validate().element($("#myselect"));
|
||||
var validator = $("#myform").validate();
|
||||
validator.resetForm();
|
||||
validator.showErrors({ "firstname": "I know that your firstname is Pete, Pete!" });
|
||||
|
||||
Reference in New Issue
Block a user