TOC PREV NEXT INDEX

domref



src


The src property provides a url to load as content into the current frame.

Syntax

iFrameElement.src = sURL
 
sURL= iFrameElement.src
 

Parameters

sURL is a string containing a URL.

Example

i = document.getElementById("content-frame");
 
i.src = "www.netscape.com";
 

Notes

None.

Specification

DOM Level 2 -- HTMLIFrameElement


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX