Last active
March 21, 2017 15:49
-
-
Save Shelob9/77a3eb74c9f4a7616f32509de225f7bc to your computer and use it in GitHub Desktop.
Close a Caldera Forms modal using JavaScript See: https://calderaforms.com/doc/closing-caldera-forms-modals-using-javascript/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// make sure to update your modal ID correctly | |
var inst = jQuery('[data-remodal-id=modal-CF57c636ca55e76]').remodal(); | |
inst.close(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment