I am trying to add the .open class to a div when the it is click. It is currently not working, and I’m not sure why. Here is my JS Here is my HTML For reference, I am trying to replicate exactly what is happening with the bottom right “have a question” widget on this website https://soldaf.ca/ Thanks, Answer The
Tag: contact-form-7
How to open a popup after the contact form 7 succesfully submitted
I am using Wordpress and Contact form 7. I need to show a popup using magnificPopup js which will come after the successfully submission of the contact form. Have added an hook for the wpcf7_mail_sent, but how can I call popup to show using javascript. Example : In functions.php in Custom.js file Answer Try this create a bootstrap modal popup