IFRAME.src (Property)

The URL of the document content inside the <IFRAME> object.

Availability:

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

Inline frames have their content loaded in much the same way as for a window. This property describes the source URL of the document that controls the content of an inline frame. You can reload the inline frame by redefining this value, but it is probably better to use the location.href value for that.

See also:Frame.src