Image

AJAX - Function - Function

Function

The open function of an XML HTTP request takes three arguments
  • xmlHttp. open(method, uri, async)
  • method is either "GET" or "POST"
  • uri is the (relative) URI to retrieve
  • async determines whether to send the request
  • asynchronously (true) or synchronously (false)
  • The domain of the uri argument must be the same as the domain of the current page

The send function takes one argument

xmlHttp. send(content);
		method="POST")