<div id="dd"></div>
$('#dd').dialog({
title: '修改密码',//标题文本
width: 500,//宽度
height: 300,//高度
closed: false,//没有关闭按钮
cache: false,
href: sname+'/StaffInfoController/jump',
modal: true,//窗体显示为模式化窗口。
onOpen:function(event,ui){//打开窗口事件
$(".panel-tool-close").hide();
}, onClose:function(event,ui){//跳转到首页(关闭窗口事件)
//跳转到登录页面
document.location = sname +'/login.jsp';
}
});