Top "Xmlhttprequest" questions

XMLHttpRequest (XHR) is a JavaScript object that exposes an API for making asynchronous HTTP requests from frontend code running a Web browser — that is, for enabling the programming technique known as AJAX.

HTTP 401 - what's an appropriate WWW-Authenticate header value?

The application I'm working on at the moment has a session timeout value. If the user hasn't interacted for longer …

http-headers xmlhttprequest
Firefox setting to enable cross domain Ajax request

I need to temporally allow cross domain XMLHttpRequest. Changing firefox security setting seems to be the way to go. But …

javascript http xmlhttprequest
Edit and replay XHR chrome/firefox etc?

I've been looking for a way to alter a XHR request made in my browser and then replay it again. …

google-chrome firefox browser xmlhttprequest
Does an HTTP Status code of 0 have any meaning?

It appears that when you make an XMLHttpRequest from a script in a browser, if the browser is set to …

ajax http browser xmlhttprequest
SCRIPT5: Access is denied in IE9 on xmlhttprequest

var xhttp=new XMLHttpRequest(); xhttp.open('GET', 'foo.xml', false); F12 pops back: SCRIPT5: Access is denied. on Line 95, which …

javascript xmlhttprequest internet-explorer-9
What is the cleanest way to get the progress of JQuery ajax request?

In plain javascript is very simple: need just to attach the callback to {XMLHTTPRequest}.onprogress var xhr = new XMLHttpRequest(); xhr.…

javascript ajax jquery xmlhttprequest
How to check if the request is an AJAX request with PHP

I would like to check server-side if a request to my php page is an ajax request or not. I …

php ajax xmlhttprequest
What do the different readystates in XMLHttpRequest mean, and how can I use them?

XMLHttpRequest has 5 readyStates, and I only use 1 of them (the last one, 4). What are the others for, and what practical …

javascript ajax xmlhttprequest readystate
jQuery.getJSON - Access-Control-Allow-Origin Issue

I'm jusing jQuery's $.getJSON() function to return a short set of JSON data. I've got the JSON data sitting on …

javascript jquery json xmlhttprequest access-control
Keep getting No 'Access-Control-Allow-Origin' error with XMLHttpRequest

I would have solved this issue by using jQuery $.ajax function but in this case jQuery is not option. Instead …

javascript xmlhttprequest cors response