• tedbell2

    (@tedbell2)


    I am trying to execute a function upon modal close. For some reason, I cannot get this function to execute. I am using a jQuery pages and posts plugin on the site and it is working correctly, because I can fire off a document loaded alert, so I know the jQuery injections are working fine.

    Maybe it has something to do with the selector?

    $(‘#wow-modal-window-1’).on(‘hidden.bs.modal’, function () {
    alert(“You got it, pal!”);
    });

    I have tried the id that I used in the wow-modal admin

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘jQuery function on modal close’ is closed to new replies.