Top "Jqxhr" questions

jqXHR is a jQuery object that provides a JavaScript cross-browser-compatible superset (wrapper) object for the browser-implemented XMLHttpRequest (XHR) object.

jQuery.post( ) .done( ) and success:

jQuery documentation on jQuery.post( ) // Assign handlers immediately after making the request, // and remember the jqxhr object for this request …

jquery jqxhr
Why is jqXHR.responseText returning a string instead of a JSON object?

I have an $.ajax() request with the dataType set to "json." The server is returning JSON with the correct mime …

ajax json jquery-1.5 jqxhr
How do I SET a Cookie (header) with XMLHttpRequest in JavaScript?

I'm trying to set a Cookie in a XSS request using XMLHttpRequest. I found the XMLHttpRequest Specification, and section 4.6.2-5 …

javascript jquery ajax jqxhr
OPTIONS 405 (Method Not Allowed) regardless server sends Access-Control-Allow-Methods:OPTIONS, GET, HEAD, POST

I'm trying to make cross-domain request and my server is configured to send the following headers: Access-Control-Allow-Credentials:true Access-Control-Allow-Headers:x-requested-with, …

javascript sencha-touch cross-domain cors jqxhr
CORS pre-flight comes back with Access-Control-Allow-Origin:*, browser still fails request

Triggering an AJAX GET to http://qualifiedlocalhost:8888/resource.json kicks off the expected CORS pre-flight, which looks like it comes …

javascript node.js express cors jqxhr
Ajax GET url on error jqxhr

I have an ajax request which I am deliberately failing from my server side code to trigger the error handling …

jquery ajax get jqxhr
When performing post via ajax, Bad Request is returned instead of the JSON result

Javascript jqXHR = $.ajax({ url: $frm.attr("action"), type: "POST", dataType: "json", cache: false, headers: headers, contentType: "application/json;charset=UTF-8", …

jquery ajax internet-explorer-8 jqxhr asp.net-mvc-5.1
How to get jQuery.ajax response status?

Is there any way to know if the jqXHR object returned was redirected from another request? For example, having the …

ajax jquery redirect jqxhr
Get the jqXhr.responseText on a jQuery getJSON request using JSONP

I am writing a diagnostic site to test our server methods. One of the things I would like to see …

jquery jsonp jqxhr
JQuery ajax call getting status code 0 "error"

I'm trying to call Petfinder.com to get a list of our pets. The url is http://api.petfinder.com/…

jquery ajax xmlhttprequest jqxhr