In SharePoint 2013 I tried:
ExecuteOrDelayUntilScriptLoaded(function () { alert("Hi"); }, 'SP.js');
But SP.js is not registering for anonymous users.
|
In SharePoint 2013 I tried:
But SP.js is not registering for anonymous users. |
||||
|
|
|
SP.js is a file that is only loaded when called. Mostly. Otherwise if users have access to certain ribbon commands which loads it. Try calling SP.js in your application and see if that works. |
|||||
|