且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在jQuery Mobile中单击按钮时刷新(重新加载)页面

更新时间:2023-10-29 08:25:46

您可以尝试这样的事情

在点击锚标记后调用给定的JS函数

Call the given JS function on click of your anchor tag

function refreshPage() {
  $.mobile.changePage(
    window.location.href,
    {
      allowSamePageTransition : true,
      transition              : 'none',
      showLoadMsg             : false,
      reloadPage              : true
    }
  );
}

有关更多详细信息,请单击此处

for more detail click here

希望这对您有所帮助!