Please go to this post to understand what JS files you need to download to achieve the required functionality.
var strSiteUrl = "http://SPSERVER:100";
var objList = new SPAPI_Lists(strSiteUrl);
var strItemID=4;
var oWs= objList.quickDeleteListItem('JWS Practice',strItemID);
if(oWs.status==200)
{
alert('Item Deleted Successfully');
}
var strSiteUrl = "http://SPSERVER:100";
var objList = new SPAPI_Lists(strSiteUrl);
var strItemID=4;
var oWs= objList.quickDeleteListItem('JWS Practice',strItemID);
if(oWs.status==200)
{
alert('Item Deleted Successfully');
}
No comments:
Post a Comment