|
i would advise not posting the code into a content web editor web part. put the code in an external file , save it in your site assets list folder, and reference a link to the script in the content web part instead.
in sp2010 if you paste code in that kind of webpart, sp2010 does funky stuff to it unfortunately.
|