Title: Javascript code not loading
Last modified: August 20, 2016

---

# Javascript code not loading

 *  [lpleva1](https://wordpress.org/support/users/lpleva1/)
 * (@lpleva1)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/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="http://stpetebagelco.wufoo.com/forms/m7x3q1">online form</a>.
       </div>
       <script type="text/javascript">var m7x3q1;(function(d, t) {
       var s = d.createElement(t), options = {
       'userName':'stpetebagelco',
       'formHash':'m7x3q1',
       'autoResize':true,
       'height':'368',
       'async':true,
       'header':'show'};
       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.
 * [http://wordpress.org/extend/plugins/wordpress-popup/](http://wordpress.org/extend/plugins/wordpress-popup/)

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

 * ![](https://ps.w.org/wordpress-popup/assets/icon-256x256.gif?rev=3446944)
 * [Hustle - Email Marketing, Lead Generation, Optins, Popups](https://wordpress.org/plugins/wordpress-popup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popup/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popup/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [lpleva1](https://wordpress.org/support/users/lpleva1/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/javascript-code-not-loading/)
 * Status: not resolved