Title: Javascript Not Executing In Modl
Last modified: August 21, 2016

---

# Javascript Not Executing In Modl

 *  Resolved [Icde](https://wordpress.org/support/users/icde/)
 * (@icde)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/javascript-not-executing-in-modl/)
 * Hi,
 * I’ve been using Easy Modal on several sites without any issues up until now.
 * I’m trying to display a Zip code search from EduSearch, with the below embed 
   code, within the modal popup when users click on a certain button.
 *     ```
       <script src="http://vn.esnwidget.com/widgets/get/example2373.js" type="text/javascript"></script>
       <script type="text/javascript">
           new ESNI.Widget({}).render();
       </script>
       ```
   
 * I’ve created the box and assigned the necessary class to the button link. When
   I click on it the modal box display, but it has not content. Text, HTML and Embed
   codes from Youtube work fine, but just not javascript.
 * Interestingly enough this works with Ultimate Modal, but it doesn’t have the 
   necessary functionality I’m looking for.
 * Any ideas?
 * [http://wordpress.org/plugins/easy-modal/](http://wordpress.org/plugins/easy-modal/)

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

 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/javascript-not-executing-in-modl/#post-3970190)
 * Hmm. do you have a demo link i can look at? I have attempted to fix all compatibility
   issues of the previous versions with v1.2 which is probably going to be released
   later tonight after i put it through its paces again to make sure there are no
   bugs.
 * Previous versions loaded all content entirely by ajax which meant any js called
   before they were loaded didnt function properly.
 * v1.2 loads the modals hidden in the footer which means that they get all the 
   js activated properly.
 * Email me at danieliser + wizardinternetsolutions.com for an advanced copy.
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/javascript-not-executing-in-modl/#post-3970303)
 * This should be solved with v1.2. If it persists please open a new thread.

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

The topic ‘Javascript Not Executing In Modl’ is closed to new replies.

 * ![](https://ps.w.org/easy-modal/assets/icon-256x256.png?rev=982657)
 * [Easy Modal](https://wordpress.org/plugins/easy-modal/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-modal/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-modal/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-modal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-modal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-modal/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/javascript-not-executing-in-modl/#post-3970303)
 * Status: resolved