javascript FRAME src

srcNN 6 IE 4 DOM 1  

Read/Write  

Provides the URL of the external content file loaded into the frame. To change the content, assign a new URL to the property. For cross-platform applications, you can also set the location.href property of the frame to load a different document into the frame using window-related references (parent.frameName.location.href = "newDoc.html").

 
Example
 
parent.document.getElementById("myFrame").src = "images/altNavBar.jpg";
 
Value

Complete or relative URL as a string.

 
Default

None.


875,Nickname,Homepage or email,Comments here,Add comment