• Resolved dkoabel

    (@dkoabel)


    Hello –

    The plugin works great, however I’m facing a situation where I need to programmatically close the modal after a form submits – is there a function I can call on form success?

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author merbmerb

    (@merbmerb)

    You could use jQuery to trigger the click on the close button:

    $(‘.bod-block-popup-closer’).trigger(‘click’);

Viewing 1 replies (of 1 total)
  • The topic ‘Programmatically close modal’ is closed to new replies.