Jquery mobile 以编程方式关闭jquery mobile对话框,然后返回空白页
我使用changepage和dialog(“close”)以编程方式打开/关闭JQuery mobile对话框,但问题是关闭后,启动对话框的页面显示为空白,没有留下任何内容。如何解决这个问题 使用jquerymobile查看主干网、路由器和电话间隙 代码 打开对话框Jquery mobile 以编程方式关闭jquery mobile对话框,然后返回空白页,jquery-mobile,backbone.js,dialog,Jquery Mobile,Backbone.js,Dialog,我使用changepage和dialog(“close”)以编程方式打开/关闭JQuery mobile对话框,但问题是关闭后,启动对话框的页面显示为空白,没有留下任何内容。如何解决这个问题 使用jquerymobile查看主干网、路由器和电话间隙 代码 打开对话框 //render __this.currentDialog.render( function() { //done rendering
//render
__this.currentDialog.render(
function() { //done rendering
$.mobile.changePage(__this.currentDialog.$el, {'role' : 'dialog', 'transition' : 'pop', 'changeHash' : false});
}
);
关闭对话框
dialogView.$el.dialog('close');
对话框小部件将在JQM v 1.4上被弃用。如果你喜欢,可以使用弹出窗口。非常感谢,弹出窗口效果更好!!