location.toString()

Availability

BlackBerry Device Software version 4.6 or later

The toString() method returns the URL of the web page as a string.

Syntax

location.toString()

Parameters

None.

Return values

Returns the current URL (the value of location.href ) as a string value.

Exceptions

None.

Last modified: 2013-08-14