javascript window location

locationNN 2 IE 3 DOM n/a  

Read/Write  

Returns a location object containing URL details of the document currently loaded in the window or frame. To navigate to another page, you assign a URL to the location.href property (or see the navigate( ) method for an IE-only alternative). See the location object.

 
Example
 
top.location.href = "index.html";
 
Value

A full or relative URL as a string.

 
Default

Current location object.


2203,Nickname,Homepage or email,Comments here,Add comment