JQuery UI Dialog widget problem with IE and ASP.NET

Posted by Tony_Henrich on Stack Overflow See other posts from Stack Overflow or by Tony_Henrich
Published on 2010-01-06T01:14:58Z Indexed on 2010/05/03 12:08 UTC
Read the original article Hit count: 241

Filed under:
|
|

The JQuery UI Dialog model form widget has an issue with ASP.NET when a button on the dialog is clicked to submit the page. It doesn't work because the form elements in the dialog window are outside the html form tags. So I used the fix of doing $("#dialog").parent().appendTo($("form:first"));.

It works in Firefox but not in IE because the modal window now appears to be part of the rest of the webpage which is disabled. Visually, this is evident by the stripes showing on both the modal window and the rest of the web page.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about jquery-ui