View Single Post
Old 12-10-2012, 03:27 PM   PM User | #2
DanInMa
Senior Coder

 
DanInMa's Avatar
 
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,307
Thanks: 12
Thanked 204 Times in 204 Posts
DanInMa is on a distinguished road
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.
__________________
- Firebug is a web developers best friend! - Learn it, Love it, use it!
- Validate your code! - JQ/JS troubleshooting
- Using jQuery with Other Libraries - Jslint for Jquery/other JS library users
DanInMa is offline   Reply With Quote