Objects, Methods, and Properties
This section itemizes JavaScript objects by description, compatibility, properties, and methods.
Anchor
A place in a document that is the target of a hypertext link. Using
the HTML A
tag or calling the
String.anchor
method, the JavaScript runtime
engine creates an Anchor object corresponding to
each A
tag in your document that supplies the NAME
attribute. It puts these objects in an array in the
document.anchors property. You access an
Anchor object by indexing this array.
- Compatability
JavaScript 1.0 / client
- Method summary
This object inherits the
watch
andunwatch
methods fromObject
.
Applet
The HTML <APPLET>
tag. The JavaScript
runtime engine creates an Applet object
corresponding to each applet in your document. It puts these objects
in an array in the document.applets property.
You access an Applet object by indexing this
array.
Table A-2. Applet Properties
Property |
Description |
Version |
---|---|---|
|
Specifies the function that creates an object’s prototype. |
1.1 |
|
For an array created by a regular expression match, the zero-based index of the match in the string. |
1.2 |
|
For an array created by a regular expression match, reflects the original string ... |
Get JavaScript Application Cookbook 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.