XMLHttpRequest: Difference between revisions

Content deleted Content added
"The XMLHttpRequest Standard defines an API". It never once refers to XHR as a class, because strictly it isn't one.
Line 75:
 
==XMLHttpRequest usage==
{{disputed|section}}
 
===Constructor===
Generating an asynchronous request to the [[web server]] requires first to [[Instance (computer science)|instantiate]] ([[Object_lifetime#Object_creation|allocate the memory of]]) the ''XMLHttpRequest'' object. The allocated memory is assigned to a [[Variable (computer science)|variable]]. The programming [[statement (computer science)|statement]] in JavaScript to instantiate a new object is '''<code>[[new and delete (C++)|new]]</code>'''.<ref name="jdg-82">{{cite book