Top "Ajax" questions

AJAX (Asynchronous JavaScript and XML) is a technique for creating interactive website user interfaces without the traditional web page refresh or reload.

download file using an ajax request

I want to send an "ajax download request" when I click on a button, so I tried in this way: …

javascript php ajax file download
Can JavaScript connect with MySQL?

Can JavaScript connect with MySQL? If so, how?

javascript mysql ajax json
jQuery - Illegal invocation

jQuery v1.7.2 I have this funcion that is giving me the following error while executing : Uncaught TypeError: Illegal invocation Here's …

jquery ajax post
Prevent browser caching of AJAX call result

It looks like if I load dynamic content using $.get(), the result is cached in browser. Adding some random string …

javascript jquery ajax browser-cache
Chrome refuses to execute an AJAX script due to wrong MIME type

I'm trying to access a script as JSON via AJAX, which works fine on Safari and other browsers but unfortunately …

javascript jquery ajax json google-chrome
Jquery .on() submit event

I've got a problem with .on(). I have multiple form-elements (forms with class="remember"), also I add another one form.…

jquery ajax forms submit
React JS - Uncaught TypeError: this.props.data.map is not a function

I'm working with reactjs and cannot seem to prevent this error when trying to display JSON data (either from file …

javascript ajax json reactjs
Implement a loading indicator for a jQuery AJAX call

I have a Bootstrap modal which is launched from a link. For about 3 seconds it just sits there blank, while …

javascript jquery html ajax
In MVC, how do I return a string result?

In my AJAX call, I want to return a string value back to the calling page. Should I use ActionResult …

asp.net-mvc ajax actionresult
Javascript : Send JSON Object with Ajax?

Is this possible? xmlHttp.send({ "test" : "1", "test2" : "2", }); Maybe with: a header with content type : application/json?: xmlHttp.setRequestHeader('Content-Type', 'application/…

javascript ajax json header request