This object

Is a special keyword used in JavaScript that refers to the current object. For example, when running JavaScript when a document is open, using the this keyword is the same as using the doc keyword.

 

Example:


this.getField("fieldname");

 

would be the same as:

 

doc.fieldName("fieldname");

 

Properties & Methods

The this object supports all properties and methods included in the Acrobat JavaScript specification.