request

NES2+Syntax

Core object created by JavaScript runtime for each client request.

Description

The request object contains specific information about the client's request. The object itself has several properties, as well as any properties that you may be passing from a form. This object also inherits Object.watch() and Object.unwatch(), which are defined in Chapter 6, "Core Syntax." The properties of this object are listed in Table 8.20.

Table 8.20. Properties of the request Object
PropertyDescription
agentContains the user-agent string sent in the HTTP request.
imageXThe x-coordinate of an imagemap request.
imageYThe y-coordinate of an imagemap request.
formKeyThis could be any key, of a key=value pair, passed from within a <FORM> tag on ...

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.