http adjustment needed please.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jill_Monroe
Posted On:   Thursday, December 7, 2006 11:48 PM

Hi, how to make this alert the response text in a divider with the id of "content" instead of the whole page of "test.txt" ? It works fine as it stands now, I just need it to show text in a div only and not a whole page. Thank you very much.


xmlhttp.open("GET", "test.txt",true);
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4) {
alert(xmlhttp.responseText)
}
}
xmlhttp.send(null)

Re: http adjustment needed please.

Posted By:   Jill_Monroe  
Posted On:   Friday, December 8, 2006 01:07 AM

I tried this but its still looking for a page, not a divider.






Testing this text to see if it appears. But it doesn't.


About | Sitemap | Contact