JQuery - removed number[] from .val()

This commit is contained in:
Michal Baše
2015-11-11 12:54:47 +01:00
parent ec819bdc0c
commit b13a8c64ff
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -3129,7 +3129,6 @@ function test_val() {
$("#multiple").val(["Multiple2", "Multiple3"]);
$("input").val(["check1", "check2", "radio1"]);
$("input").val(1);
$("input").val([1, 2, 3]);
}
function test_selector() {
+2 -2
View File
@@ -1363,9 +1363,9 @@ interface JQuery {
/**
* Set the value of each element in the set of matched elements.
*
* @param value A string of text, an array of strings, number or an array of numbers corresponding to the value of each matched element to set as selected/checked.
* @param value A string of text, an array of strings or number corresponding to the value of each matched element to set as selected/checked.
*/
val(value: string|string[]|number|number[]): JQuery;
val(value: string|string[]|number): JQuery;
/**
* Set the value of each element in the set of matched elements.
*