Name

unescape() — NN 2 IE J1 ECMA 1

Synopsis

unescape(string)

Returns a decoded version of the URL-encoded string passed as a parameter to the function. URL encoding converts nonalphanumeric characters to hexadecimal values (such as %20 for the space character).

Returned Value

String.

Parameters

string

Any URL-encoded string value.

Get Dynamic HTML: The Definitive Reference 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.