I have created the jquery dialog. It does not show the close(x) button in IE, but in FF it shows correctly. Please help me to solve this issue.
Jquery Version: 1.11.1 Jquery UI version: 1.10.4
Code:
<!-- ui-dialog -->
<div id="dialog" title="Dialog Title">
<p>Test Me.</p>
</div>
$( "#dialog" ).dialog({
width : 400,
resizable : false,
buttons: [
{
text: "Yes",
click: function() {
$( this ).dialog( "close" );
}
},
{
text: "No",
click: function() {
$( this ).dialog( "close" );
}
}
]
});
Make sure you are loading the script in correct order:
<script src="..../jquery-1.11.1.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="..../jquery-ui-1.10.4.j.js"></script>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.