When the dialog gets created, the dom elements all get moved to the end of the body. This is to fix z-index/stacking in IE. So it sounds like this is interfering with the .net event. Here are a couple options:
1. move the elements back to the form, and manually submit when the button is clicked 2. clone the elements when you create the dialog, then clone the values back, trigger click on the original button Some things to think about. Please let us know how you make out. - Richard On Mon, Sep 15, 2008 at 9:39 AM, LM <[EMAIL PROTECTED]> wrote: > > Hi. > > I have ASP.NET page wich uses jQuery UI extensions. Cause of ASP.NET > nature there can be only one <form> on the page. So, I have html like > this: > > ... > <form action=...> > ... > <div id="myPopup"> > Test popup<br /> > <input type="submit" value="Test submit" /> > </div> > ... > <input type="submit" value="Test submit 2" /> > ... > </form> > > I show "#myPopup" as modal dialog. All works fine but it seems jQuery > UI dialog blocks submit event from within the modal dialog box. So > when I click "Test submit" button nothing happens - no postback. In > the same time if I click on the "Test submit 2" button (which is > located outside of the dialog box) - form got submitted. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
