changePage “jumps” back to old page

后端 未结 6 1999
长情又很酷
长情又很酷 2020-12-15 18:47

I\'ve a big problem with a jQuery Mobile Application: I\'m using custom functions (they are triggered by onClick) to switch the page with currentPage.

It only happen

6条回答
  •  Happy的楠姐
    2020-12-15 19:03

    I was having the same issue. And I tried everything, I finally end with the solution. What I found was the error was principally within the browser. So I set the configuration of the pushStateEnabled as false. I did it by doing the following, adding this script.

    
    

    It should be add before the jquery-mobile script is call, for more information you could see it on JQuery description

    And it solved the problem no more jumping back.

提交回复
热议问题