jQuery MiniUI
标题:
showTips里面的内容只出来一瞬间就消失了,为什么呀
[打印本页]
作者:
Qualler
时间:
2018-4-19 10:43:55
标题:
showTips里面的内容只出来一瞬间就消失了,为什么呀
$.ajax({
url: "../AddStudent",
type: 'post',
data: { data: json },
cache: false,
success: function (text) {
mini.showTips({
content: "<b>成功</b> <br/>数据保存成功",
state: "success",
x: "center",
y: "center",
timeout: 3000
});
mini.alert(text);
CloseWindow("save");
},
error: function (jqXHR, textStatus, errorThrown) {
alert(jqXHR.responseText);
CloseWindow();
}
});
作者:
dforce
时间:
2018-4-19 11:37:55
你这页面都关闭了,tips在哪显示啊。
作者:
Qualler
时间:
2018-4-19 14:10:18
dforce 发表于 2018-4-19 11:37
你这页面都关闭了,tips在哪显示啊。
那怎样才能关闭页面并提示呢
作者:
dforce
时间:
2018-4-19 14:48:24
Qualler 发表于 2018-4-19 14:10
那怎样才能关闭页面并提示呢
去主页面弹出tips
top.mini.showTips。。。。
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2