SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Apr 2004
    Location
    canada
    Posts
    274
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Javascript Redirect Backwards

    I'd like to set up a blank HTML page that has the ability to redirect the user back 2 history pages. I'm assuming a meta tag is used?

    is this possible?

    THANKS!!

  2. #2
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,449
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Meta tags aren't javascript. Try this code (off of the top of my head):

    Code:
    <script type="text/javascript">
        history.go(-2);
    </script>


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •