Skip to content

Instantly share code, notes, and snippets.

anonymous
anonymous / gist:4604542
Created January 23, 2013 11:20
function xnrequest(retext,begin,end,url,sids){
for(var i=0;i<sids.length;i++){
var sid = sids[i].getAttribute("id").replace(retext,"");
var data=begin+sid+end;
new XN.NET.xmlhttp({url:url,data:data,onSuccess:function(){},
onError:function(){
console.log("删除错误");
}});
}
}