Reputation: 1
I have my website www.dailycrazydeals.com with all the jquery working properly. But the problem comes when I try to add a recycling widget through the text widget on wordpress.All my other jquery plugins stop working. The code for the recycling widget is as follows:
<!-- BEGIN 1-800-RECYCLING.COM WIDGET --> <div id="recycling-widget"></div> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="http://1800recycling.com/recycling-widget/?v=2.0&width=300&height=450&btncolor=fbfbfb"></script> <script type="text/javascript">oerjQuery("#recycling-widget").RecyclingWidget("recycling");</script> <!-- END 1-800-RECYCLING.COM WIDGET -->
Please help me solve this problem.Please ask me if you require any other information.Thanks.
Upvotes: 0
Views: 314
Reputation: 1268
Remove <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
from the widget code and it should work if you already have jQuery on your site.
See browser console for more details on what's causing the error. But it's probably the fact that you're loading two different jQuery files.
Upvotes: 1