你知道为什么在关闭对话框后,文档中的按钮不会再出现在Firefox 12中吗?提前致谢!按钮没有出现
<html>
<head>
<link type="text/css" href="jqueryui/css/smoothness/jquery-ui-1.8.20.custom.css" rel="Stylesheet" />
<script type="text/javascript" src="jqueryui/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="jqueryui/js/jquery-ui-1.8.20.custom.min.js"></script>
<style></style>
<script type="text/javascript">
$(document).ready(function() {
$("#click").click(function() {
$("#dialog").attr("title", "save").text("This is the dialog box!").dialog({
buttons: {
"OK": function() {
$(this).dialog("close");
}
}
});
});
});
</script>
</head>
<body>
<div id="dialog" title="Basic dialog">
<input type="button" value="click" id="click" />
</div>
</body>
</html>
是否消失之外提交?你的代码示例中没有什么可以说它应该。 –