jQuery modal dialog with postbacks in ASP.NET jQuery modal dialog with postbacks in ASP.NET asp.net asp.net

jQuery modal dialog with postbacks in ASP.NET


OK, so this seems to be the fix for jQuery UI v1.10:

$("#newInsurance").dialog({    autoOpen: false,    appendTo: "form",    modal: true}).parent().css('z-index', '1005');

In jQuery UI v1.10 they added an appendTo property, which seems to do the same exact thing as calling .parent().appendTo($("form")). The trick to the fix is the z-index.