Skip to content

Commit e1becca

Browse files
committed
Add "Array" to type for .val() as setter.
Fixes jquery#36
1 parent e23e358 commit e1becca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entries/val.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ $.valHooks.textarea = {
8282
<entry type="method" name="val" return="jQuery">
8383
<signature>
8484
<added>1.0</added>
85-
<argument name="value" type="String">
85+
<argument name="value" type="String, Array">
8686
<desc>A string of text or an array of strings corresponding to the value of each matched element to set as selected/checked.</desc>
8787
</argument>
8888
</signature>
@@ -169,4 +169,4 @@ $.valHooks.textarea = {
169169
<category slug="version/1.0"/>
170170
<category slug="version/1.4"/>
171171
</entry>
172-
</entries>
172+
</entries>

0 commit comments

Comments
 (0)