Browser BACK button not working properly...Please HELP

Discussion in 'JavaScript' started by KingCobra, May 28, 2012.

  1. #1
    Do you know why my page (with iFrame) reload when I click browser 'back' button?

    Please follow the steps to see my problem:

    1. Go to this page (using FireFox) > http://tinyurl.com/7hbyjt2

    2. On this page click on BlueViolet color link "Just-Us-Men " or "883 Police"

    3. A page will load with iFrame (the iframe portion will load another company's site)

    4. Click on browser "Back" button.

    Now you may see the whole page loading inside the iFrame again. This is the problem. It may happening Chrome and Firefox.

    Please tell me any solution.

    Thanks in advance.
     
    KingCobra, May 28, 2012 IP
  2. HostPlanz

    HostPlanz Well-Known Member

    Messages:
    449
    Likes Received:
    34
    Best Answers:
    4
    Trophy Points:
    130
    #2
    That is the way it is suppose to function. When the Iframe loads, it creates an entry within the browser's history and clicking the back button will reload the request for this page (the one within the Iframe).
     
    HostPlanz, May 28, 2012 IP
  3. KingCobra

    KingCobra Well-Known Member

    Messages:
    289
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #3
    Dear HostPlanz,

    Would you please tell me how can I solve this issue? Please post the codes that will solve this problem.

    Thanks,
     
    KingCobra, May 28, 2012 IP