function openNewItemDialog() { var options = { url: appWebUrl + "/Lists/ListName/NewForm.aspx", width: 500, height: 500, title: "Form title" }; SP.SOD.execute('sp.ui.dialog.js', 'SP.UI.ModalDialog.showModalDialog', options); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)