Basic AJAX Question: Download AJAX PDF

How do we get the XMLHttpRequest object in AJAX?

Tweet Share WhatsApp

Answer:

Depending upon the browser...
if (window.ActiveXObject)
{
// Internet Explorer http_request = new ActiveXObject("Microsoft.XMLHTTP");
}
else if.

Download AJAX PDF Read All 61 AJAX Questions
Previous QuestionNext Question
How do we debug JavaScript? How do we handle concurrent AJAX requests?