Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

My second CEWP using jquery isnt working

$
0
0

Hi Guys,

I am just starting to plug in some jquery into CEWP to enhance my sharepoint sites. I have one page where I want to add two CEWP that use jquery/javascript. I have tested the CEWP individually and they work find however when they are on the same page I run into some sort of conflict where the second one prevents the first from executing.

I have ensured that there are no conflicting function names or variable names and checked that they are both using the same version of jquery.

They both execute using:

ExecuteOrDelayUntilScriptLoaded(myUniqueFunction, "sp.js");

I hope you can show me the error of my ways as this is driving me crazy.

Thanks


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>