Closing JQuery UI Dialog Box

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
mygis
 
 
Posts: 56
Joined: Mon Mar 18, 2013 5:05 am
Contact:

Closing JQuery UI Dialog Box

Post by mygis »

Hello,
I am using a JQuery Dialog box; i works great for me, however, when closing the dialog I use the "Hide" method to close it. This method will indeed hide it but not close it. As a result, when hiding the dialog box then showing it again (using the "show" method), the previously filled up text or choice will show. I need to reload the dialog as if it was for the first time showing.
May I know how to achieve that?
Thanks.
User avatar
Pablo
 
Posts: 22476
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Closing JQuery UI Dialog Box

Post by Pablo »

You cannot 'close' a dialog. The dialog always exits on the page.
But you can try to use the 'open' event of the dialog to reset the form.
Post Reply