methods
- void back(int)
-
Moves to the document the specified number of documents down in the history stack, similar to pressing the "Back" button in the browser toolbar.
- void forward(int)
-
Moves to the document the specified number of documents up in the history stack, similar to pressing the "Forward" button in the browser toolbar.
- void go(int)
-
Goes to the location specified in the history stack. A negative integer moves down the history stack, a positive integer moves up the history stack.
- void next()
-
Goes to the next document up in history stack.
- void previous()
-
Goes to the next document down in the history stack.
- object toSource()
-
Returns a literal representing the source code of the object e.g
"function Object() { [native code] }" or "function Car(manufactuer,
model, productionyear) { this.make = manufactuer; this.model = model;
this.year = productionyear; }".
- string toString()
-
Returns a string representing the object i.e. "[object Object]".
- void unwatch(property)
-
Removes a previously set watchpoint.
- object valueOf()
-
Returns the primitive value of the object e.g. "function Object() { [native code] }".
- void watch(property, handlingFunction)
-
Calls the handlingFunction when the property is changed.
properties
- constructor
-
The constructor method is the base method used to create an instance of the object.
- current
-
The current document as a Location object.
- length
-
The number of pages in the history stack.
- prototype
-
Exposes the prototype for the method or property of the object.