ahhhh, gracias daviv!!!
ya lo hize jejeje
Como se abrian cientos de iframe, he utilizado break y continue para q se haga uno a uno, pero el for repite siempre el primer numero (62980700), si le quito el breay y continue todo sigue funcionando bien!
Por que sera???
Código:
<script>
function delframe(id) {
var iftd = document.getElementById('tuenti');
var fath = iftd.parentNode;
fath.removeChild(iftd);
masive().continue;
}
function newiframe(pag) {
var td3 = document.createElement("iframe");
td3.src = pag;
td3.name = "tuenti";
td3.id = "tuenti";
td3.width = "800";
td3.height = "200";
td3.setAttribute("onload","delframe('tuenti');");
document.body.appendChild(td3);
}
function masive() {
for (i=62980700;i<=62980800;i++) {
newiframe("send.php?id=" + i);
document.getElementById('last').innerHTML = i;
break;
}
}
</script>