Hi,

I am using a JQuery UI modal dialog to ask a confirmation to the user.
The dialog has buttons "Save" and "Cancel". If user clicks "Save", I
make an AJAX call to do a database update and if he clicks "Cancel", I
need to ignore his changes. The problem I am facing is when I open the
dialog using dialog.open, it doesn't stop processing the javascript
that follows after the dialog.open statement. How do I make the modal
dialog really "modal", identical to javascript "confirm"? The JQuery
UI modal dialog seems to only disable the keystrokes/mouse clicks but
I want it to stop processing the javascript code until the user
chooses an option !!

Any help is greatly appreciated. I am kinda stuck..

Thanks !

--

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.


Reply via email to