Wednesday, November 10, 2010

Whats wrong with document.write()?

Programmer Question

my code:



var req = new XMLHttpRequest();
req.open("GET","http://http://surfkid.redio.de/link.php");
req.send(null);
var textout = var.responseText;
document.write.textout;


On the document, there is no text.



What i have made wrong?



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails