Skip to main content
5 events
when toggle format what by license comment
Oct 1, 2012 at 17:53 vote accept Alan M
Oct 2, 2012 at 20:20
Sep 25, 2012 at 19:37 comment added Alan M I'm using IE7 (yes, I know, I know. Corporate environment, out of my control). I'm going to see what's up with SP.ClientContext not working, but I can see from that docs and your example that it should be the tool for the job.
Sep 25, 2012 at 19:33 comment added eirikb Yes it should be there, it's part of the [msdn.microsoft.com/en-us/library/ee557057.aspx](JavaScript SP namespace). If you are using Chrome then adding jQuery document ready can sometimes break the loading of body, in that case try manually running _spBodyOnLoadWrapper() in your console.
Sep 25, 2012 at 19:01 comment added Alan M I'm trying this, got it inside a $(document).ready block, but am getting a JS err about SP.ClientContext() not existing. Googling "SP.ClientContext" leads me to believe it's a built-in SharePoint js func that should be available. Is it, or do I need to include a script src to it?
Sep 25, 2012 at 5:14 history answered eirikb CC BY-SA 3.0