IMG.useMap (Property)

The URL of a <MAP> defined hash element that defines a client-side image map.


DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myIMG.useMap

This property reflects the value of the USEMAP="..." HTML tag attribute which should refer to the named <MAP> tag containing an image map. The reference is by means of a "#NAME" value in this property that corresponds to the NAME="..." HTML tag attribute of the <MAP> tag describing the image map to use.