Title: Error with other javascript
Last modified: August 30, 2016

---

# Error with other javascript

 *  Resolved [chrystelle](https://wordpress.org/support/users/chrystelle/)
 * (@chrystelle)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/error-with-other-javascript/)
 * Hi,
    since i have installed easy2map, the other acces to javascript files,don’t
   work. For example, on index.php, I have added <script src = “js/jquery.flexslider.
   js”> </ script> That’s does’nt work I tried to put the same script, on a simple
   html page, on the root, same problem. But if i uninstall this plugin, all is 
   working! This plugin seems stop the other script. Someone have a solution? thx
 * [https://wordpress.org/plugins/easy2map/](https://wordpress.org/plugins/easy2map/)

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

 *  Plugin Author [stevenellis](https://wordpress.org/support/users/stevenellis/)
 * (@stevenellis)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/error-with-other-javascript/#post-6669439)
 * Hi,
    My apologies for the issues you’re experiencing. If you are able to send
   me a link to the page showing the error, I can look at the javascript files to
   try and see if I can fix this. Please email me at [steven.conrad@gmail.com](https://wordpress.org/support/topic/error-with-other-javascript/steven.conrad@gmail.com?output_format=md)
   and we can discuss how to resolve this issue.
 * Many thanks,
    Steven
 *  Thread Starter [chrystelle](https://wordpress.org/support/users/chrystelle/)
 * (@chrystelle)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/error-with-other-javascript/#post-6669443)
 * Thx steven.
    I have found a soluce. It’s my first template in wordpress and i
   don’t know all the syntax to script correctly (sorry for my english). I don’t
   know why, without plugin, my function works but it does. The problem does’nt 
   came from Easy2map. It happens also with others map plugin. To resum, in page.
   php, i had :
 *     ```
       <script type="text/javascript">
       	$(window).load(function() {
       		$('.flexslider').flexslider({...});
       	});
       </script>
       ```
   
 * Now, the correct script :
 *     ```
       <script type="text/javascript">
       //<![CDATA[
       (function($) {
       	$('.flexslider').flexslider({ ... });
   
       })(jQuery);
   
       //]]>
       </script>
       ```
   
 * I had found in the codex that $ was the problem
 *  Plugin Author [stevenellis](https://wordpress.org/support/users/stevenellis/)
 * (@stevenellis)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/error-with-other-javascript/#post-6669452)
 * Thanks for the reply, I’m glad you managed to get your issue resolved!

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

The topic ‘Error with other javascript’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easy2map_e9c6c8.svg)
 * [Easy2Map](https://wordpress.org/plugins/easy2map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy2map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy2map/)
 * [Active Topics](https://wordpress.org/support/plugin/easy2map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy2map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy2map/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [stevenellis](https://wordpress.org/support/users/stevenellis/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/error-with-other-javascript/#post-6669452)
 * Status: resolved