Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Basic Javascript Navigation Function

Status
Not open for further replies.

fsnyder

Programmer
Oct 10, 2003
11
US
I have an HTML page that uses javascript to open a Java applet in a full sized new window. That's all it does. After the new window opens, I would like the parent window to go back to the previous URL.

Is there a JavaScript function that accomplishes the same thing as the browser back button ?
 
Thanks, Glen

I got this to work using the history object :

window.history.go(-1);

Fred
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top