JQuery Dialog Is Not Working Properly With ASP.NET Postback

NourneBroosse

New Member
When the click event of \[code\]$("td.createNewUser")\[/code\] is triggered the\[code\]$("div#registration")\[/code\] is showed in \[code\]dialog\[/code\] mode. The whole screen is blocked and I cannot click anywhere. It should let me click only on this \[code\]$("div#registration")\[/code\] object but it is blocked too. It shouldn't be like this. The problem occurs when \[code\]dlg.parent().appendTo(jQuery("form:first"));\[/code\] is called. I need \[code\]dlg.parent().appendTo(jQuery("form:first"));\[/code\] because ASP.NET \[code\]postback\[/code\] cannot work without it. What should I doo to fix it to work properly ?\[code\]function registration() { $("td.createNewUser").click(function () { var dlg = $("div#registration").dialog({ modal: true, height: 360, width: 451, }); dlg.parent().appendTo(jQuery("form:first")); });}\[/code\]
 
Back
Top