WordPress PopUp
Javascript code not loading (1 post)

  1. lpleva1
    Posted 2 years ago #


    I am trying to use this plugin to display the Wufoo form that I have created.

    I am using the following Javascript embed code (provided by Wufoo):

    <div id="wufoo-m7x3q1">
    Fill out my <a href="http://stpetebagelco.wufoo.com/forms/m7x3q1">online form</a>.
    <script type="text/javascript">var m7x3q1;(function(d, t) {
    var s = d.createElement(t), options = {
    s.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + 'wufoo.com/scripts/embed/form.js';
    s.onload = s.onreadystatechange = function() {
    var rs = this.readyState; if (rs) if (rs != 'complete') if (rs != 'loaded') return;
    try { m7x3q1 = new WufooForm();m7x3q1.initialize(options);m7x3q1.display(); } catch (e) {}};
    var scr = d.getElementsByTagName(t)[0], par = scr.parentNode; par.insertBefore(s, scr);
    })(document, 'script');</script>

    Problem is that when the pop up appears, all it has is a link that says "Fill out my online form". Basically, the JS is not rendering.

    Any idea why this is happening? The embed code works fine in my posts, as a sidebar widget, etc.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress PopUp
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.