previous property (history)
Returns the URL of the previous document in the history array.
This property requires the UniversalBrowserRead privilege. When the current document is the first item in the history array, the use of the previous property raises an exception.
You can find the related objects in the Supported by objects section below.
This property is read-only.
String that represents the location.
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the previous property:
Did you find this example helpful?
User Contributed Comments