Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2005
    Posts
    165

    Unanswered: javascript embedded in asp page

    i'm trying to insert a simple javascript functiont to bring the user back to the previous page:

    <a href="javascript:history.go(-1)">back</a>

    i've also tried declaring the link as a variable and displaying it that way and it still won't work. any ideas? thanks!

  2. #2
    Join Date
    Nov 2003
    Location
    Christchurch, New Zealand
    Posts
    1,618
    Hmm, that looks like it should work. Did you try history.back() as well?

Posting Permissions

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