用了很久了 简单记录一下吧
弹出等待框
1 2 | $.vms.popup({ 'title' : 'Processing...' , 'content' : 'Processing...' , 'buttons' :{}}); $.vms.popup_close(); |
弹出指定框
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | var dialog_opt = {}; dialog_opt.title = 'Success' ; dialog_opt.content = 'The submission have been completed.' ; dialog_opt.error = false ; dialog_opt.buttons = { 'OK' : function () { oPenddingReimburseList.fnReloadAjax(); $.vms.popup_close(); } } dialog_opt.width = 305; $.vms.popup(dialog_opt); |
弹出id内容框