gpt4 book ai didi

javascript - 刷新页面时如何在嵌套列表中显示同一页面?

转载 作者:行者123 更新时间:2023-11-28 09:35:32 24 4
gpt4 key购买 nike

我使用 spring 3 mvc、jquery mobile 1.2 和 HDIV 开发移动应用程序。

我的应用程序中有一个嵌套列表。我的问题是,当我刷新嵌套列表中的浏览器时,浏览器会将我带到主页。如何在jquery mobile中停止刷新以及如何在嵌套列表中显示相同的列表页面?

我想要如下所示... http://jquerymobile.com/demos/1.0a3/#docs/lists/lists-nested.html&ui-page=Planes-1

有什么帮助吗?

感谢和问候

最佳答案

  1. 您可以更改您的网址以获取您想要显示的页面的路径: http://www.yourhost.com/inde.htm#mypagename
  2. 或 $.mobile.changePage(...
  3. 或 $.mobile.loadPage(...欲了解更多信息,请查看:http://jquerymobile.com/test/docs/api/methods.html

关于javascript - 刷新页面时如何在嵌套列表中显示同一页面?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13124352/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com