Name

go( ) — NN 2 IE 3 DOM n/a

Synopsis

go(stepCount | "URL“)

Navigates to a specific position in the history listing.

Returned Value

None.

Parameters

stepCount

An integer representing how many items away from the current listing the browser should use to navigate. A value of zero causes the current page to reload; a value of -1 is the same as back( ); a value of -2 is the URL two steps back from the current item in history. A bug in IE 3 causes all values other than 0 to be treated as -1.

URL

A URL or (in Navigator) document title stored in the history listing.

Get Dynamic HTML: The Definitive Reference 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.