Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 138279

How can I make a button trigger a Javascript popup (Divi + ActiveCampaign)

$
0
0

I just got off support with ActiveCampaign and they said they couldn't provide me with code examples on how to add their modal pop-up forms to be triggered by wordpress buttons.

I found a few resources online but they are all slightly different than the functionality I'm looking for.

I already added the ActiveCampaign plugin to my wordpress site and there are two options of embedding the form within the site.

  1. shortcode "[activeCampaign formId=1]" or

  2. <script src="https://exampledomain.com/f/embed.php?id=1" type="text/javascript" charset="utf-8"></script>

I'm currently using the divi theme, and the buttons have sections for CSS ID's and CSS Classes.

so to summarize, I would like to be able to click a button and have the activecampaign modal form popup.

If you could show me how I can add code to the button and my site to trigger the modal popup that'd be amazing.

Let me know if you have any other information.

Thanks!


Viewing all articles
Browse latest Browse all 138279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>