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.

Disable same origin policy in Chrome

Is there any way to disable the Same-origin policy on Google's Chrome browser?

javascript ajax google-chrome
jQuery AJAX submit form

I have a form with name orderproductForm and an undefined number of inputs. I want to do some kind of …

javascript jquery ajax submit forms
How do I return the response from an asynchronous call?

I have a function foo which makes an asynchronous request. How can I return the response/result from foo? I …

javascript jquery ajax asynchronous
jQuery Ajax error handling, show custom exception messages

Is there some way I can show custom exception messages as an alert in my jQuery AJAX error message? For …

jquery ajax custom-exceptions
jQuery Ajax File Upload

Can I use the following jQuery code to perform file upload using POST method of an ajax request ? $.ajax({ type: "…

javascript jquery ajax post file-upload
jQuery Ajax POST example with PHP

I am trying to send data from a form to a database. Here is the form I am using: <…

javascript jquery ajax post
Response to preflight request doesn't pass access control check

I'm getting this error using ngResource to call a REST API on Amazon Web Services: XMLHttpRequest cannot load http://server.…

javascript ajax http cors http-status-code-405
How to manually send HTTP POST requests from Firefox or Chrome browser?

I want to test some URLs on a web application I'm working on. For that I would like to manually …

ajax google-chrome firefox browser http-post
How can I upload files asynchronously?

I would like to upload a file asynchronously with jQuery. Instead of the file being uploaded, I am only getting …

javascript jquery ajax asynchronous xmlhttprequest
Send POST data using XMLHttpRequest

I'd like to send some data using an XMLHttpRequest in JavaScript. Say I have the following form in HTML: <…

javascript ajax forms post xmlhttprequest