Name

Window.navigate( ) — load a new URL

Availability

Internet Explorer 3

Synopsis

                  window.navigate(url)

Arguments

url

A string that specifies the URL to be loaded and displayed.

Description

The Window.navigate( ) method of Internet Explorer loads the specified url into the specified window (“navigates to” the url).

navigate( ) is not supported by Netscape. The same function can be accomplished both in Netscape and IE by assigning the desired url to the location property of the desired window.

See Also

Location, the location property of the Window object

Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.