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.

responseType in $.ajax

$.ajax({ type: "POST", url: "bla", xhrFields: { responseType: "document" }, data: {}, success: function(arg,arg2,request){ console.log(request.responseXML) } }) Why is …

jquery xml ajax jqxhr
Checking if web server is online/offline

How would I check if a web server is online/offline from my domain? I've already tried an $ajax call …

javascript jquery jqxhr
JS: how to encode an image.png into base64 code for data URI embedding?

I have several .png bitmaps of different dimensions, by example ./img/dog.png and ./img/cat.png. How to load …

javascript image base64 uri jqxhr
How to use ajax to set the src of an image?

I need to set some headers when getting an image. The img src attribute does not allow this, so I'm …

html ajax image jqxhr
How to get a custom error message from Web Api to jQuery.ajax?

This code uses the Microsoft Web Api Http stack and jQuery. How do I get a custom error message, created …

c# jquery asp.net-web-api httpresponse jqxhr
When a response to $.ajax is 301, can I programmatically get the new URL?

Is there a way to get the URL you are ultimately redirected to when the response to an xhr request …

javascript jquery xmlhttprequest jqxhr
jquery jqXHR responseText convert string to JSON

I have some responseText that looks like this: [{ "id": null, "partId": 0, "name": "5e8c8c89-445e-4033-80db-014a00…

jquery ajax jqxhr
JQuery and XHR -- Cross-site JSON POST with CORS

I'm making a small UI to submit a JSON object to an external CastIron server (not that the server type …

javascript jquery ajax json jqxhr