ok property

Determines if the response was successful.

This property is read-only.

Syntax

JavaScript
successFlag = object.ok

 

Property values

Type: boolean

A boolean that is true if the response was successful. false otherwise.

Standards information

See also

Response