How can I select window.showModalDialog() in jquery?
In other words, I can select any element such as: DIVs, INPUTs and more in jQuery, but how can I select the regular javascript ModalDialog from jQuery?
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.
I believe showModalDialog() prevents javascript from running in the parent window, which would not allow you to select it. Also, I don’t know how great cross-browser support is for it. You may want to look into the modal dialog feature of jQueryUI which is far more dynamic. http://jqueryui.com/demos/dialog/#modal