SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    is craving 'the potato' slayerment's Avatar
    Join Date
    Nov 2002
    Location
    Scottsdale, Arizona, USA
    Posts
    604
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Q: Find previous page URL

    Is there a way to find the previous page URL with Javacript? Thanks!

  2. #2
    Tranceoholic lilleman's Avatar
    Join Date
    Feb 2004
    Location
    Írebro, Sweden
    Posts
    2,716
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I'm not sure, but try the following:

    Code:
    var uri = document.referrer;
    ERIK RIKLUND :: Yes, I've been gone quite a while.

  3. #3
    is craving 'the potato' slayerment's Avatar
    Join Date
    Nov 2002
    Location
    Scottsdale, Arizona, USA
    Posts
    604
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Perfect! Thanks man


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
  •