Home | Top | Free Ajax Editor | JavaScript Editor | ![]() | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Sets or retrieves a comma-separated list of content types.
Syntax
<INPUT ACCEPT = sAccept ... > |
INPUT . accept ( v ) [ = sAccept ] |
Possible Values
sAccept | String that specifies or receives comma-separated list of content types. |
The property is read/write. The property has no default value.
Remarks
The information from the list can be used to filter out nonconforming files when prompting a user to select files to be sent to the server using the <INPUT> element with type="file" .
There is no functionality implemented for this property unless defined by the author.
Standards Information
This property is defined in HTML 4.0 and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
|
INPUT |
Home | Top | Free Ajax Editor | JavaScript Editor | ![]() | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |