Closing JQuery UI Dialog Box

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

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

Closing JQuery UI Dialog Box

Post by mygis » Fri Dec 04, 2020 6:04 am

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: 22598
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Closing JQuery UI Dialog Box

Post by Pablo » Fri Dec 04, 2020 7:02 am

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