URLUnencoded property (document)
Returns a string value that represents the unencoded version of the location of the current document.
Use the decodeURIComponent global method on the value returned by the URL or location.href property to get the same functionality.
You can find the related objects in the Supported by objects section below.
This property is read-only.
String that represents the unencoded URL.
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the URLUnencoded property:
Did you find this example helpful?
User Contributed Comments