The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
43 views

Proper way to call multiple functions using SP.SOD.executeFunc

I need to make sure sp.js is loaded before I call several functions. I currently call them as follows in SP 2013. It works, but I suspect there is a better/more efficient way. ...
0
votes
2answers
83 views

executeFunc not working in Sharepoint 2013

I have this simple piece of code: <script type="text/javascript" src="AnotherLibrary.js" /> <script type="text/javascript"> SP.SOD.executeFunc('sp.js', 'SP.ClientContext', ...
1
vote
1answer
97 views

Custom .aspx as modal dialog not working: 'SP' is undefined

SharePoint 2013 server... I have created a custom aspx page for use as a modal dialog. I want this pop up to collect field values and return them to the form the pop up was called from. The pop up ...
2
votes
1answer
103 views

SharePoint 2013 and javascript

What is meaning of OnDemand scripts and what is not-on-demand scripts? In SharePoint 2013, when do we use SP.SOD.executeFunc and when to use ExecuteOrDelayUntilScriptLoaded ? What is best practice?