インターネット エクスプローラでjQuery UIダイアログを自動サイズ調整するにはどうすればよいですか?自動サイズjQuery UIダイアログ(Internet Explorer)
このコードはFirefoxではOKですが、インターネット ExplorerではOKです。
$('#dialog2').dialog({
autoResize: true,
show: "clip",
hide: "clip",
height: 'auto',
width: 'auto',
autoOpen: false,
modal: true,
position: 'center',
draggable: true,
open: function (type, data) {
$(this).parent().appendTo("form");
},
buttons: { "close": function() { $(this).dialog("close"); document.getElementById("<%=btnnew.ClientID%>").click(); } }
});
私のHTML要素はDIVです。
どのバージョンのjQueryとjQuery UIを使用していますか? –
jquery ui 1.8.5 JQuery 1.4.2 – Shahin