用了很久了 简单记录一下吧
弹出等待框
$.vms.popup({'title': 'Processing...', 'content':'Processing...', 'buttons':{}}); $.vms.popup_close();
弹出指定框
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内容框