Help need with navigating back to last page

edited July 2005 in Internet & Media
Hi
Need help if possible.
How can i navigate back to previous page from my web page, with java script.
He is the code i need to add the script to.

" td bgcolor="#FFFFFF" height="24" width="94"
background="images/white_button.gif" style="cursor: hand;" onClick="location.href='index.php?session=cf1cffe42f0317be4323d907424d0971'"><A HREF="index.php"><font class="wht_btn">shop more "/font </A> /td "

Any help would be gratefully Recieved
Regards
Mark

Comments

  • SpywareShooterSpywareShooter 127.0.0.1
    edited July 2005
    Do you mean back to the last page that the user viewed? This should work if that's what you want. Add this little bit into the onClick attribute.

    javascript:history.back()
Sign In or Register to comment.