Tutorial by Examples

SP.SOD.executeOrDelayUntilScriptLoaded(showDialog,"sp.js"); function showDialog(){ var options = SP.UI.$create_DialogOptions(); options.url = "/mySite/lists/myList/NewForm.aspx"; options.dialogReturnValueCallback = myCallBackFunction; SP.UI.ModalDialog.show...
SP.SOD.executeOrDelayUntilScriptLoaded(showDialog,"sp.js"); function showDialog(){ SP.UI.ModalDialog.showModalDialog( { url: "/org/it/web/wik/Lists/ExampleCode/DispForm.aspx?ID=6" } ); }
SP.SOD.executeOrDelayUntilScriptLoaded(showDialog,"sp.js"); function showDialog(){ var dialogOptions = SP.UI.$create_DialogOptions(); dialogOptions.title = "Your Title Here!"; var dummyElement = document.createElement("div"); dummyElement.style.te...

Page 1 of 1