Support » Plugin: Hustle - Pop-Ups, Slide-ins and Email Opt-ins » Javascript code not loading

  • Hello,

    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="">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://') + '';
    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.

  • The topic ‘Javascript code not loading’ is closed to new replies.