browser back acts on nested iframe before the page itself - is there a way to avoid it??
Posted
by kfiroo
on Stack Overflow
See other posts from Stack Overflow
or by kfiroo
Published on 2010-02-11T16:27:43Z
Indexed on
2010/03/27
14:03 UTC
Read the original article
Hit count: 298
hi,
i have a page with dynamic data loaded by some ajax and lots of javascript.
the page contains a list from which the user can choose and each selected value loads new data to the page.
one of these data items is a url provided to an iframe.
i use jQuery BBQ: Back Button & Query Library to simulate the browser-back behavior.
all works well besides the fact that when i click the back button for the first time the iframe goes back to its previous location and then i need to click back again to make the page go back.
is there a way to disable the iframe's back behavior?
© Stack Overflow or respective owner