4
與jquery.mobile-1.0rc1;收到錯誤在簡單的對話框 -jquery手機:與mobile.pageLoading()
錯誤消息在FF-
$.mobile.pageLoading() is not a function
在這裏工作的鍍鉻
Uncaught TypeError: Object #<Object> has no method 'pageLoading'
&同時是代碼snippet-
$(document).delegate('#importCCRLink', 'click', function() {
$(this).simpledialog({
'mode' : 'bool',
'prompt' : 'Are you sure to import?',
'useModal': true,
'buttons' : {
'OK': {
click: function() {
showTempLoading();
},
theme: "p"
},
'Cancel': {
click: function() {
//alert('Cancel');
}
}
}
})
})
function showTempLoading()
{
$.mobile.pageLoading();
}
- 任何想法!
謝謝GerjanOnline +1 –