Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

13
  • 3
    Well, of course Javascript has it built in, or how could any Javascript library offer a convenience method for it? The difference being that the convenience methods offer, well, convenience, and a clearer, simpler syntax. Commented Jun 26, 2014 at 19:53
  • 16
    XML prefix because it uses the X from AJAX ~ Asynchronous JavaScript and XML. Also, good point re the "API that has and ECMAScript binding" is due to the fact that JavaScript can be in many things, other than browsers supporting HTTP (e.g. like Adobe Reader ...) Good thing to remember so hats-off to PointedEars. Commented Sep 5, 2014 at 4:29
  • 9
    @AlikElzin-kilaka Actually all the answers above are off the mark (infact the linked W3 docs explains "each component of this name is potentially misleading"). Correct answer? its just badly named stackoverflow.com/questions/12067185/… Commented May 28, 2016 at 11:58
  • 4
    why do we need to xmlHttp.send(null);. what does it mean? Commented May 14, 2019 at 17:32
  • 7
    The fetch API offers a better way to do this, and can be polyfilled when necessary (see @PeterGibson's answer below). Commented Oct 12, 2019 at 17:33