SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist SpaceFrog's Avatar
    Join Date
    Jan 2005
    Location
    Outerspace
    Posts
    511
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    previous & reload

    although I had promised my self to never come back here because of that blommin' popup !!!

    I need your help

    I am try to force a previous page to reload ...
    problem: I cannot use a meta tag nor any script in the onload of the page ...

    I was trying to add a parameter in the link but how can I retrieve previous page link from history ?

  2. #2
    SitePoint Zealot
    Join Date
    Feb 2006
    Posts
    151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can use:

    history.back();

    Which will take the user to the most previous page viewed.

  3. #3
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,862
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by SpaceFrog
    although I had promised my self to never come back here because of that blommin' popup !!!
    What popup? I don't see a popup when I visit here and I doubt most others do either. Did you forget to turn on the popup blocker in your browser?
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  4. #4
    SitePoint Enthusiast pentapenguin's Avatar
    Join Date
    Aug 2005
    Location
    GA, USA
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by MoneyBusiness
    You can use:

    history.back();

    Which will take the user to the most previous page viewed.
    Then you can use window.reload()

  5. #5
    SitePoint Evangelist SpaceFrog's Avatar
    Join Date
    Jan 2005
    Location
    Outerspace
    Posts
    511
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    neither hisory.back nor window.reload are adapted ...

    historyback send you right back to cache ...

    and for reload how would I do that without having the code in the page form next page ... ???


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
  •