更新时间:2021-12-21 17:29:29
您可以通过在点击处理程序上返回false来防止锚链接重新加载页面:
You can prevent the anchor link from reloading the page by returning false on the tap handler:
function redirectAdd(e) {
$("body").pagecontainer("change", "#add", {
transition: "fade"
});
return false;
}