Page 1 of 1

Closing JQuery UI Dialog Box

Posted: Fri Dec 04, 2020 6:04 am
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.

Re: Closing JQuery UI Dialog Box

Posted: Fri Dec 04, 2020 7:02 am
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.