Is there a way to get a jQuery modal dialog to be “truly” modal?
For example, if I create a confirmation dialog for a yes/no, how do I wait for the response from the user before processing anything else.
TIA
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have to place your logic for after the dialog into the dialog’s button events. You can’t use it to pause execution of a method mid stream. Only the native javascript alert/confirm boxes can do that.
http://jqueryui.com/demos/dialog/