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.

Access-Control-Allow-Origin error sending a jQuery Post to Google API's

I read a lot for the 'Access-Control-Allow-Origin' error, but I don't understand what I have to fix :( I'm playing with …

jquery ajax google-api cors jsonp
ASP.NET MVC controller actions that return JSON or partial html

I am trying to create controller actions which will return either JSON or partial html depending upon a parameter. What …

ajax asp.net-mvc json asp.net-ajax
Wait until all jQuery Ajax requests are done?

How do I make a function wait until all jQuery Ajax requests are done inside another function? In short, I …

javascript jquery ajax
JQuery Ajax Post results in 500 Internal Server Error

I am trying to perform this AJAX post but for some reason I am getting a server 500 error. I can …

javascript jquery ajax
Uploading both data and files in one form using Ajax?

I'm using jQuery and Ajax for my forms to submit data and files but I'm not sure how to send …

javascript jquery ajax forms
Converting a string to JSON object

How do you make JS think that a string is JSON ? I have a function which only works if JSON …

javascript ajax json
Why does Google prepend while(1); to their JSON responses?

Why does Google prepend while(1); to their (private) JSON responses? For example, here's a response while turning a calendar on …

javascript json ajax security
Jquery Ajax Posting json to webservice

I am trying to post a JSON object to a asp.net webservice. My json looks like this: var markers = { "…

jquery ajax web-services json
How do I send a cross-domain POST request via JavaScript?

How do I send a cross-domain POST request via JavaScript? Notes - it shouldn't refresh the page, and I need …

javascript ajax cross-domain