我正在使用jquery对话框。该对话框在IE11中正确显示 - 它有边框,标题栏等,但它在Chrome版本40中没有正确显示,没有边框,没有标题栏,只有标题,文本和按钮,甚至没有覆盖它下面的页面,modal:true在Chrome中也不起作用。 Chrome页面中未显示任何错误。任何帮助将不胜感激。
JSP代码:
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" />
<script type="text/javascript" src="js/jquery-ui.min.js"></script> <!-- version 1.11.x -->
function showDialog()
{
$("#dialog").dialog(
{
height: 200,
width: 350,
closeOnEscape: false,
modal: true,
dialogClass: 'no-close success-dialog',
buttons:
{
"Yes": function()
{
$(this).dialog( "close" );
},
"No": function()
{
$(this).dialog( "close" );
}
}
});
}