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

if(javascript:history.back() =

Status
Not open for further replies.

overflo

Technical User
Feb 10, 2003
70
0
0
AU
I'm new to javascript and would like to know if it is possible to do something along the lines of this
if(javascript:history.back() = some.html
then something
else
something else

Any help woud be appreciated
 

What is it you are actually trying to do?

Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 

If you are trying to detect what the last page in the history object was, then forget it - it would be a big security risk for browsers to expose this.

Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Thanks. I worked out a better way to achieve what I wanted but cheers for replying
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top