Hi,
I am trying to open a modal dialog from within an event handler method
using the jQueryUI dialog widget. I used to do that with javascript
window.showModalDialog() and that works fine for me. The user entered
the values in the modal dialog and via window.returnValue I could
access them in my event handler method:
function mapServerRequest() {
// modal dialog window
var parameters = window.showModalDialog('dialogs/
getIAdditionalInfo.aspx',...)
...
}
Now I want to do the same using the jQueryUI dialog widget but
whenever I try to open the modal dialog, the event handler code
continues executing without waiting for the user input. So this is not
really modal. Can anyone help me with this issue?
function mapServerRequest() {
// modal dialog window is shown but code execution continues
without waiting for the modal window
$('#dialog').dialog({
bgiframe: true,
height: 140,
modal: true
});
}
Thanks a lot
Shabba
--
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.