Search code examples
javascriptjqueryjquery-uiiframebrowser-history

Back button & Iframes


I have a link which opens up a Jquery UI Dialog containing an iframe. When I click the back button in the browser it cycles through the iframes history. I want it to go back in the parent windows history. How would I do this?

I'm aware there are similar questions on stackoverflow but I couldn't find any which answer my question.


Solution

  • Fixed by returning false on all links inside the iframe. I realize this isn't really a solution for most people looking at this problem but it works perfectly for me.