Input.accept (Property)

Defines an acceptable MIME type to be submitted to the server.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myInput.accept

Refer to:

BUTTON.accept