Export (0) Print
Expand All
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

multiple property

When used with the type="file" attribute, allows multiple files to be selected in the file selection dialog.

This property is read/write.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.7.3.7Internet Explorer 10

 

Syntax

JavaScript
object.multiple = ptr
ptr = object.multiple

 

Property values

Type: boolean

When specified, the value is true, otherwise false.

Standards information

Remarks

The following example lets you pick multiple files with a files input field.


<label>Pick a few files: </label><input type="file" multiple id="myfiles" /></label> <button onclick="getFiles();">List files</button>


See also

HTMLInputElement

 

 

Show:
© 2014 Microsoft