Can anybody tell me the difference between
XHTTP and the usual http?
What is the difference between the
following two codes?? Which is better and preferred??
In both the cases I am sending a request
from the client to the server and the server returns an XML doc. The XML Doc is
a dynamic Doc created by a ASPX page.
Code 1. Here a HTTP Request is sent from the Client to the Server
and loads a XML Dom. This is then used to populate data into a ComboBox..
oXml = new
oXml.async = true;
Code 2. Here is another code where in an xhttp
request is sent from client to server. The response is loaded in to a XML Dom
and is used to populate data into a combo box.
= new ActiveXObject("Microsoft.XMLDOM");
Which is better??
I prefer the first one because only one
object is created J…
The second case is how a typical AJAX works…may be
the response is not an XML.
Thanks And With Regards,