ResponseText property of XMLHTTPRequest Object
Hi ,
Does the responseText property return only the contents of the page as it is stored in the page or does process the page as well? I want to return the server time when the user clicks on a button , lets suppose. For this I am using an asp page which I am specifyin in the Open property of the xmlHttp object. The contents of the asp page is as mentioned below:
<%
Reponse.Expires = -1
Reponse.Write(time)
%>
The problem is that when I am clicking the button I am not able to see the time instead the whole code as written above is filled in the textbox I am using to show the time.
Thanks,
Prashant.
|