Your script file so helpful to me. Recently i implemented changes in SP2010 with your SPutility.js file which was worked fine. Now I want to implement those changes in SP2013 site. But when ever I am adding Prototype.js as reference in content editor webpart
it is giving script error like
Message: Expected ';'
I want to implement changes in Sharepoint online site. Any work around for this? Please help.
Sep 17, 2013 at 4:04 PM
You are correct. Prototype.js will no work with SharePoint 2013 because it conflicts with out-of-the-box SharePoint scripts.
To solve this, I've started converting SPUtility.js to use jQuery instead (which everyone seems to prefer anyways). I am not finished yet (as of Sept 2013) but you can checkout the project here:
. Most of the functionality for GetValue/SetValue is working (except for people fields and lookup).
My goal is to completely eliminate the prototype version and make the jQuery version support SharePoint 2007, 2010, and 2013.