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.

Multiple AJAX requests delay each other

I have a long polling request on my page. The script on the server side is set to timeout after 20 …

jquery ajax xmlhttprequest long-polling
How do I load JSON data synchronously with d3.js?

When my site first initializes, it queries a server to get back some data. I can't lay anything out on …

json xmlhttprequest d3.js synchronous
json xhr response opens a download file popup window

For one of our ajax request (with a .json response) some of our clients have complained that they are seeing …

json download prompt xmlhttprequest
How to receive php image data over copy-n-paste javascript with XMLHttpRequest

I try to make an image-upload functionality similar to the one GMail uses. You copy (CTRL-C) an image from your …

php javascript xmlhttprequest image-uploading onpaste
Disable the Same Origin Policy / making cross domain XMLHttpRequests in WebKit WebViews?

I would like to disable the same origin policy on XMLHttpRequests in my own embedded WebViews. I have control over …

javascript webkit xmlhttprequest webview same-origin-policy
Enable CORS while an XMLHttpRequest error occurs in flutter web

when I will add data to the database using the function, and on the server I have added Access-Control-Allow-Origin so …

dart xmlhttprequest flutter-web
How to enable loading local file using ajax in IE9

I know there is the origin problem, but setting up a web server is not an option here. Firefox v14 …

javascript ajax xmlhttprequest internet-explorer-9 local-files
Write Byte Array to a file Javascript

Hello Experts I have java rest webservice that returns documents as byte array, I need to write javascript code to …

javascript arrays rest xmlhttprequest downloadfile
Is it possible to submit HTTP requests with WebAssembly?

I'm trying to submit a simple HTTP GET request in WebAssembly. For this purpose, I wrote this program (copied from …

c http xmlhttprequest emscripten webassembly
Stop page refresh

I'm writing a small piece of code which takes input from a user via html form to then retrieve information (…

javascript xmlhttprequest onreadystatechange