1.脚本代码
function showCreate(){
$('#createDialog').dialog({
title : '新增客户经理'
},{
height : 580
},{
width : 780
},{
resizable : true
},{
modal : true
},{
show : 'clip'
}
);
}
2.触发按钮代码
<input type="button" class="createBtn" οnclick="showCreate();" value="新增" />
3.需要在dialog中显示的div 默认设置为display:none;
<div class="formPanel" id="createDialog" style="display:none;">
<form id="saveCusmanagerAjax" action="${ctx}/bns/loanAjax/LoanCusmanager/save.do" method="post"