This page is Almost Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

status

Summary

Returns the HTTP result code (status) of the response to the request.

Property of apis/xhr/XMLHttpRequestapis/xhr/XMLHttpRequest

Syntax

Note: This property is read-only.

var result = element.status;

Return Value

Returns an object of type unsigned shortunsigned short

Related specifications

W3C XMLHttpRequest Specification
W3C Working Draft

Attributions