Thursday, November 27, 2014

How to delete list item SharePoint SP Servies?


var cID=1;
$().SPServices({
operation: "UpdateListItems",
listName: 'Userlist',
batchCmd: "Delete",
valuepairs: [["ID",cID]],
completefunc: function (xData, Status) {
$('#tablename').remove();
}
});

No comments:

Post a Comment