去除Jquery UI dialog的关闭按钮
1、添加CSS
?<style>
??/**去除jquery ui close按钮**/
??.my-dialog .ui-dialog-titlebar-close{
?? ?display: none;
??}
?</style>?
?
2、示例:添加--->dialogClass: "my-dialog"
$( "#login" ).dialog({
??/**去除jquery ui close按钮**/
??dialogClass: "my-dialog",
??title:'用户登录',
??modal:true,