Title: JS not loading
Last modified: August 31, 2023

---

# JS not loading

 *  Resolved [bobbiermckee](https://wordpress.org/support/users/bobbiermckee/)
 * (@bobbiermckee)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/js-not-loading-7/)
 * Our HubSpot JS form code is not loading within the Popup. I’ve also tried other
   JS and nothing is working. It seems to convert it to HTML instead. This issue
   is across several sites.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjs-not-loading-7%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Support [Jasmine](https://wordpress.org/support/users/hyenokian/)
 * (@hyenokian)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/js-not-loading-7/#post-17017849)
 * Dear [@bobbiermckee](https://wordpress.org/support/users/bobbiermckee/),
 * Thank you for your topic.
 * At the moment, we are not sure we completely understand the issue.
 * For further investigation of your case, we would like to ask you to provide us
   with the following information:
    1. What Version of the Popup Box plugin you are using?
    2. Send us the HTML and let us know in which option you are adding it.
 * If possible, please send us also screenshots where the given issue will be visible.
 * Looking forward to hearing from you soon.
   Thank you.
 *  Thread Starter [bobbiermckee](https://wordpress.org/support/users/bobbiermckee/)
 * (@bobbiermckee)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/js-not-loading-7/#post-17018696)
 * I have moved this to a testing page.
   [https://yourmembersstg.wpengine.com/test/](https://yourmembersstg.wpengine.com/test/)
   Popup version 3.7.3PHP Version 8.2 and tried 7.4WordPress theme Twenty Twenty-
   OneAll plugins DisabledThe JS within the popup does not convert to JS. If you
   look at the page source, it’s converting to HTML and not JS.If I add a basic 
   JS test to the page builder, it works. If I add it to the Popup, it does not 
   work.Click on the words Download Whitepaper and you will see the popup with garbage
   and not a form. There is on-page JS test below it showing JS does work on page.
 * I’m unable to add the code here.
 * ![](https://wordpress.org/df32b619-3dd6-4b49-8b36-82bc41502605)
 *  Plugin Support [Jasmine](https://wordpress.org/support/users/hyenokian/)
 * (@hyenokian)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/js-not-loading-7/#post-17019045)
 * Dear [@bobbiermckee](https://wordpress.org/support/users/bobbiermckee/),
 * Thank you for your reply and for the provided information.
 * Regarding your request, I would like to note that there was a security issue 
   after fixing which the given error occurs.
 * We will consider adding a Custom JS option, where you will be able to add your
   JS.
 * We will let you know in case of adding this feature in one of the upcoming updates.
 * In case of any further questions, please do not hesitate to contact us.
   Thank
   you.
 *  Thread Starter [bobbiermckee](https://wordpress.org/support/users/bobbiermckee/)
 * (@bobbiermckee)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/js-not-loading-7/#post-17019086)
 * We use your popup throughout multiple sites and it is broken everywhere. We cannot
   wait for this to be fixed. Can this be addressed ASAP?
 *  Plugin Support [Jasmine](https://wordpress.org/support/users/hyenokian/)
 * (@hyenokian)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/js-not-loading-7/#post-17019134)
 * Dear [@bobbiermckee](https://wordpress.org/support/users/bobbiermckee/),
 * Thank you for your response.
 * To reach your desired result you can add a** custom JavaScript **on your theme
   if you want to use the latest version.
   Or you can roll back to the 3.7.0 version
   of the Popup Box plugin until we will find another solution.
 * Check again and let us know about the outcome.
   Thank you.
 *  Thread Starter [bobbiermckee](https://wordpress.org/support/users/bobbiermckee/)
 * (@bobbiermckee)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/js-not-loading-7/#post-17019190)
 * Great. Where can I get the old version? Or if you know what JS to add, I can 
   try that as well.
 *  Plugin Support [Jasmine](https://wordpress.org/support/users/hyenokian/)
 * (@hyenokian)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/js-not-loading-7/#post-17023149)
 * Dear [@bobbiermckee](https://wordpress.org/support/users/bobbiermckee/),
 * Thank you for your response.
 * My apologies for the late reply – weekends are non-working days for us.
 * Concerning your request, I would like to mention that you can use a rollback 
   plugin. (You can try this one: [WP Rollback](https://wordpress.org/plugins/wp-rollback/))
   
   After that, you will be able to use the 3.7.0 version of the Popup Box plugin,
   which will work based on your requirements.
 * We will notify you as soon as your mentioned feature will be added.
 * Please, check and let us know if you have any other questions.
   Thank you.
 *  [nemzzy668](https://wordpress.org/support/users/nemzzy668/)
 * (@nemzzy668)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/js-not-loading-7/#post-17026362)
 * Bobbie, I am like you and use JS in my pop up box and I used the rollback plugin
   to set pop up box to 3.7.0 and confirm JS code then works fine in that
 *  Plugin Support [Jasmine](https://wordpress.org/support/users/hyenokian/)
 * (@hyenokian)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/js-not-loading-7/#post-17027241)
 * Dear [@bobbiermckee](https://wordpress.org/support/users/bobbiermckee/) and [@nemzzy668](https://wordpress.org/support/users/nemzzy668/),
 * First of all, we are really sorry for all the inconvenience this issue may have
   caused you.
 * We will fix it in our upcoming update and will notify you as soon as the update
   will be available.
 * Once again, thank you very much for your understanding.
 *  Plugin Support [Jasmine](https://wordpress.org/support/users/hyenokian/)
 * (@hyenokian)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/js-not-loading-7/#post-17046476)
 * Dear [@bobbiermckee](https://wordpress.org/support/users/bobbiermckee/) and [@nemzzy668](https://wordpress.org/support/users/nemzzy668/),
 * Thanks for your patience.
 * I am glad to inform you that we have fixed the problem in the **latest version**
   of the plugin and updated it accordingly. 
   So, you can **update the plugin to
   the latest version** and check the case again.
 * Thank you.

Viewing 10 replies - 1 through 10 (of 10 total)

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

 * ![](https://ps.w.org/ays-popup-box/assets/icon-128x128.gif?rev=2660064)
 * [Popup Box - Create Countdown, Coupon, Video, Contact Form Popups](https://wordpress.org/plugins/ays-popup-box/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ays-popup-box/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ays-popup-box/)
 * [Active Topics](https://wordpress.org/support/plugin/ays-popup-box/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ays-popup-box/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ays-popup-box/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 10 replies
 * 3 participants
 * Last reply from: [Jasmine](https://wordpress.org/support/users/hyenokian/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/js-not-loading-7/#post-17046476)
 * Status: resolved