Javascript disabled/missing in popup content?
-
Hi,
First, thanks for your plugin. It was exactly what I needed for a project I am working on. Unfortunately, in one instance, I am encountering an issue with javascripts being disabled on a page displayed in the popup. I am trying to embed a Cognito form into a post and then display the post in the popup. To style the form and for it to function properly, javascripts are needed, but they are not functioning in the popup.
The page I am displaying in the popup is here: https://rrd.cfnapareview.com/wine-club/wine-club-form-cognito/. The page where the popup is triggered is here: https://rrd.cfnapareview.com/wine-club-form-test/ (to trigger popup, click on one of the “Sign Up Now” buttons).
When the page with the embedded form is opened by itself, it displays with a red background, which is being added via javascript. When that same page is displayed in a modal popup, the javascript that colors the background red is disabled (actually missing when inspected). I have tested this with a number of other scripts and none of them function in the modal popup. It is as if the scripts are being stripped out when the content is displayed in the modal Any thoughts on why this might be happening? I would really appreciate any insights you might provide.
Thanks,
Pete Skram
The page I need help with: [log in to see the link]
- The topic ‘Javascript disabled/missing in popup content?’ is closed to new replies.