jquery-confirm
jquery-confirm copied to clipboard
Close dialog when another button is clicked
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.
make a reference to the dialog, and call .close()
https://craftpip.github.io/jquery-confirm/#api-close