troubleshooting Question

Display confirmation box with yes or no option before closing dialog window in jquery

Avatar of RNithik
RNithik asked on
JavaScriptJScriptAJAX
4 Comments1 Solution1864 ViewsLast Modified:
I have a close button on my jquery dialog window, when I click on this, we should show confirmation box with message "Do you want to close this window " (Yes/No options) if user selects "Yes" then we need to close the dialog, if user selects "No" it should n't close the dialog and stays as it is..

How we can write this ?

Thanks for everybody's help here.

Thanks
Nithk
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros