SP.SOD.executeOrDelayUntilScriptLoaded( function(){ deleteItem(1); }, "sp.js"); function deleteItem(id){ var clientContext = new SP.ClientContext(); var list = clientContext.get_web().get_lists().getByTitle("List Title"); var item = list.getItemById(id); item.deleteObject(); clientContext.executeQueryAsync(function(){ alert("Item #"+id+" 删除成功!"); },function(sender,args){alert(args.get_message());}); }