jquery-confirm icon indicating copy to clipboard operation
jquery-confirm copied to clipboard

Close dialog when another button is clicked

Open alombia opened this issue 5 years ago • 1 comments

Is it possible to close the dialog when a different button is clicked. The button is generated through the content section of the script. I use it to generate some html including a button, but would like to close the dialog when that button is clicked.

alombia avatar Dec 02 '19 10:12 alombia

make a reference to the dialog, and call .close()

https://craftpip.github.io/jquery-confirm/#api-close

tirolel avatar Dec 02 '19 13:12 tirolel