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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Analysing ht History Object for last page??

Status
Not open for further replies.

szgr

Programmer
Nov 7, 2001
4
0
0
GB
I have a site that posts data from one page into another, and am trying to create a back function using javascript. I can't simply use the back button in IE, as sometimes I need to go back 2 steps, and other times 1 step. Is it possible to scan the history object and find the last page visted, rather than the last entry in the object, and go back to that??, i.e. find the last instance of page1.jsp, and go back to that??

Many thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top