Javascript Reference
Categories: LINK

javascript LINK target

@March 15, 2008, 1:22 a.m.
targetFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

Indicates the window or frame name to be the recipient of linked content. Default value (equivalent of _self) is the desired setting for linked style sheets.

 
Example
 
document.getElementById("link4").target = "frame2";
 
Value

String value of the window or frame name, or any of the following constants (as a string): _parent | _self | _top | _blank.

 
Default

None.


Powered by Linode.