var f1 = document.createElement("form");
f1.target = "target";f1.name = "frmViewAction";
f1.action = "http://www.inven.co.kr/board/bbs/include/multi_delete.php";f1.method = "POST";
var if1 = document.createElement("iframe");
if1.name = "target";
var inp1 = document.createElement("input");
inp1.type = "hidden";
inp1.name = "come_idx";
inp1.value = owURL.substring(owURL.indexOf("_idx")+5,owURL.indexOf("&iskin"));
var inp2 = document.createElement("input");
inp2.type = "hidden";inp2.name = "l"
var inp3 = document.createElement("input");
inp3.type = "hidden";
inp3.name = "my";inp3.value = "post";
f1.appendChild(inp1);
f1.appendChild(inp2);
f1.appendChild(inp3);
$("body").append(f1);$("body").append(if1);
var wno_list = [];for(i=0;i<$("td.bbsNo").length; i++){
wno_list.push($("td.bbsNo").eq(i).html());
}
var count = 0;
function deleteGo(){
if(count>=wno_list.length){
alert("삭제 완료");
location.reload();
clearInterval(timer);
return;
}
frmViewAction.l.value= $("td.bbsNo").eq(count++).html();
frmViewAction.submit();
}
var timer = setInterval(deleteGo,1000);