browser back acts on nested iframe before the page itself - is there a way to avoid it?

后端 未结 6 850
再見小時候
再見小時候 2020-12-13 12:54

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 n

6条回答
  •  温柔的废话
    2020-12-13 13:51

    I suggest you create a hyperlink within your iframe. call it 'Back' and put a href as javascript:history.back(-1)That's the best you can do I think.

提交回复
热议问题