popModal jQuery模态是一个强大和灵活的插件允许您创建弹出窗口提示模态等多种目的,通知模态,对话框模态等等。 调用插件$(function(){ $('#demo').popModal({ html : $('#content').html() }); });默认参数,在演示页面查看更多的使用&例子。$(function(){ $('#demo').popModal({ html: '', placement: 'bottomLeft', showCloseBut: true, onDocumentClickClose : true, onOkBut: function() {return true;}, onCancelBut: function() {}, onLoad: function() {}, onClose: function() {} }); });