About 11,700,000 results
Open links in new tab
  1. How to pass parameters in $ajax POST? - Stack Overflow

    Sep 9, 2013 · 70 Jquery.ajax does not encode POST data for you automatically the way that it does for GET data. Jquery expects your data to be pre-formated to append to the request …

  2. include antiforgerytoken in ajax post ASP.NET MVC

    I am having trouble with the AntiForgeryToken with ajax. I'm using ASP.NET MVC 3. I tried the solution in jQuery Ajax calls and the Html.AntiForgeryToken(). Using that solution, the token is …

  3. javascript - jQuery AJAX submit form - Stack Overflow

    Dec 25, 2009 · I have a form with name orderproductForm and an undefined number of inputs. I want to do some kind of jQuery.get or ajax or anything like that that would call a page through …

  4. javascript - How does AJAX work? - Stack Overflow

    Oct 2, 2009 · The author, an Ajax expert, demonstrates how these technologies work together -- from an overview to a detailed look -- to make extremely efficient Web development an easy …

  5. Difference between fetch, ajax, and xhr - Stack Overflow

    Mar 17, 2022 · Ajax is a buzzword meaning "Making an HTTP request from JavaScript without leaving the page". XMLHttpRequest and fetch are APIs, provided by browsers, which allow …

  6. ajax - What does it mean when an HTTP request returns status …

    May 16, 2009 · For what it is worth, depending on the browser, jQuery-based AJAX calls will call your success callback with a HTTP status code of 0. We've found a status code of "0" usually …

  7. How to send FormData objects with Ajax-requests in jQuery?

    The XMLHttpRequest Level 2 standard (still a working draft) defines the FormData interface. This interface enables appending File objects to XHR-requests (Ajax-requests). Btw, this is a new …

  8. TypeError: $.ajax (...) is not a function? - Stack Overflow

    The problem is this one by default is slim.jquery.js which doesn't have the ajax function in it. So, if you're using (copy-pasted from Bootstrap website) slim version jquery script link, use the full …

  9. How do you handle errors from AJAX calls? - Stack Overflow

    Jul 6, 2016 · The best way to bubble that error from the server side (using php) to the client side is to send a header through the Ajax request somewhere in the 400's (which is always …

  10. Use success() or complete() in AJAX call - Stack Overflow

    Jun 20, 2009 · I want to understand the AJAX call below, in terms of the complete() method; When I replace complete() with success(), I get an empty responseText just as with the AJAX …