2.3.2.19 nameProp

Note: EdgeHTML Mode does not provide the nameProp attribute for the HTMLImageElement interface.

nameProp of type DOMString

Retrieves the file name specified in the href or src property of the object.

This DOM attribute is read-only.

The nameProp attribute extends the following interfaces:

All Document Modes (All Versions)

Quirks Mode, IE7 Mode, IE8 Mode, IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)

  • HTMLImageElement

Show: