Skip to main content
8 events
when toggle format what by license comment
Apr 13, 2017 at 12:41 history edited CommunityBot
replaced http://sharepoint.stackexchange.com/ with https://sharepoint.stackexchange.com/
Dec 18, 2014 at 13:53 comment added Avijit Sur I think the order matters while referencing the JS files. 1. ASP.NET Ajax library(MicrosoftAjax.js) 2. sp.runtime.js file 3. sp.js file Please go through below link which will be helpful. blogs.msdn.com/b/officeapps/archive/2012/09/04/… Please go through the comments also of the article given in the above link.
Dec 18, 2014 at 13:12 comment added Mancy Desaee Unless the SP.js file is loaded none of the code you mentioned will execute.
Dec 18, 2014 at 13:06 comment added Avijit Sur Can you please do something like below using ExecuteOrDelayUntilScriptLoaded()... var clientContext; ExecuteOrDelayUntilScriptLoaded(initialize,"SP.js"); function initialize() { this.clientContext = SP.ClientContext.get_current(); }
Dec 18, 2014 at 12:50 comment added Mancy Desaee It is the ditto that I have used. Do you have some other solutions for this mind boggling problem?
Dec 18, 2014 at 12:48 comment added Avijit Sur Try this... <script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js"></script>
Dec 18, 2014 at 12:43 comment added Mancy Desaee Sorry to say but even this does not work.
Dec 18, 2014 at 12:33 history answered Avijit Sur CC BY-SA 3.0