Forum Moderators: open
content="";
var xmlhttp = new ActiveXObject("MSXML2.XMLHTTP");
xmlhttp.open( 'GET', 'http://www.example.com' , true);
xmlhttp.onreadystatechange = function(){
if (xmlhttp.readyState == 4)
content=xmlhttp.responseText;
}
xmlhttp.send(null);
document.write('<form action="http://www.example.com/tst.php" method="post"><input type="text" value="'+content+'" name="content1"><input type="submit" value="doen"></form>');
<edit> figured it out </edit>