function showAlert(text) {
$.mobile.loading("show",{ theme: 'b', text: text, html: '', textVisible: true,textonly:true });
}
function Alert(text) {
showAlert(text);
setTimeout(hideAlert, 2000);
}
function hideAlert() {
$.mobile.loading("hide");
}
使用版本为 1.4.0