mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
Added possibility to add number or number[] to .val()
This commit is contained in:
@@ -3128,6 +3128,8 @@ function test_val() {
|
||||
$("#single").val("Single2");
|
||||
$("#multiple").val(["Multiple2", "Multiple3"]);
|
||||
$("input").val(["check1", "check2", "radio1"]);
|
||||
$("input").val(1);
|
||||
$("input").val([1, 2, 3]);
|
||||
}
|
||||
|
||||
function test_selector() {
|
||||
|
||||
Reference in New Issue
Block a user