Javascript Reference
Categories: IFRAME

javascript IFRAME src

@June 30, 2008, 3:36 p.m.
src Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

 

Read/Write  

Indicates the URL of the external content file loaded into the current element. To change the content, assign a new URL to the property.

 
Example
 
document.getElementById("myIframe").src = "section2.html";
 
Value

Complete or relative URL as a string.

 
Default

None.


Powered by Linode.