Frame.src (Property)

The URL for a document contained within the frame.


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

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 a frame. You can reload the frame by redefining this value but it is probably better to use the location.href value for that.

See also:IFRAME.src