Javascript Reference
Categories: IMG

javascript IMG nameProp

@March 15, 2008, 1:22 a.m.
namePropFirefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a  

Read-only  

Returns the filename (without the rest of the URL path) of the current image. Simplifies examination of current image content.

 
Example
 
if (document.images[3].nameProp == "menuOn.jpg") {
    document.image[3].src = "../images/menuOff.jpg";
}
 
Value

Case-sensitive string filename and extension.

 
Default

None.

purchase lipitor pill <a href="https://lipiws.top/">order generic lipitor 20mg</a> purchase atorvastatin
Yhrskv - 1 months

Powered by Linode.