javascript FRAME name
@March 15, 2008, 1:22 a.m.
name | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1 |
Read/Write | |
This is the identifier associated with a frame for use as the value assigned to target attributes or as script references to the frame. The value is usually assigned via the name attribute, but it can be modified by script if necessary. |
|
Example | |
parent.document.getElementById("myFrame").name = "results"; |
|
Value | |
Case-sensitive identifier that follows the rules of identifier naming: it may contain no whitespace, cannot begin with a numeral, and should avoid punctuation except for the underscore character. |
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/frame-name.aspx
Powered by Linode.
parent.document.getElementsByTagName("FRAME")[1].contentWindow.name = 'xxx'