Resolvi meu próprio problema, com a ajuda do link !
<html>
<head><script type="text/javascript">
function GoThroughTextArea() {
var TA=document.getElementById("ListOfIDs").value;
if(document.all) { var lines=TA.split("\r\n"); } else { var lines=TA.split("\n"); }
for(var i=0; i<lines.length; i++) {
visitID(lines[i]);
}
}
function visitID(oid) {
theURL = "https://example.com/dothing.aspx?id="+oid;
if (window.XMLHttpRequest) { AJAX=new XMLHttpRequest(); } else { AJAX=new ActiveXObject("Microsoft.XMLHTTP"); }
if (AJAX) {
AJAX.open("GET", theURL, false); AJAX.send(null);
document.getElementById("responsearea").innerHTML+="Tried ID "+oid+".<br />";
return true;
} else {
document.getElementById("responsearea").innerHTML+="Failed! Problem ID: "+oid+"<br />";
return false;
}
}
</script></head>
<body>
<textarea rows="10" cols="15" id="ListOfIDs"></textarea><button type="button" onclick="GoThroughTextArea()">Start</button>
<div id="responsearea">Log:<br /></div>
</body>
</html>