How can I authorize the jQuery UI dialog in Internet Explorer?
This code is fine in Firefox, but not in Internet Explorer.
$('#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(); } } });
My HTML element is a DIV.
jquery jquery-ui jquery-ui-dialog autosize
Shahin
source share