window.unescape

  • Revision slug: DOM/window.unescape
  • Revision title: window.unescape
  • Revision id: 164229
  • Created:
  • Creator: Jabez
  • Is current revision? No
  • Comment /* Syntax */

Revision Content

{{template.DomRef()}}

Summary

Unencodes a value that has been encoded in hexadecimal (e.g., a cookie).

Syntax

window.unescape(sValue)

Parameters

  • sValue is an encoded string.

Example

cookieValuePlain = window.unescape( cookieValue );

Notes

See also window.escape.

Specification

DOM Level 0. Not part of specification.

Revision Source

<p>
{{template.DomRef()}}
</p>
<h3 name="Summary">Summary</h3>
<p>Unencodes a value that has been encoded in hexadecimal (e.g., a cookie). 
</p>
<h3 name="Syntax">Syntax </h3>
<pre class="eval">window.unescape(<i>sValue</i>)
</pre>
<h3 name="Parameters">Parameters </h3>
<ul><li><code>sValue</code> is an encoded string.
</li></ul>
<h3 name="Example">Example </h3>
<pre class="eval">cookieValuePlain = window.unescape( cookieValue );
</pre>
<h3 name="Notes">Notes </h3>
<p>See also <a href="en/Window.escape">window.escape</a>. 
</p>
<h3 name="Specification">Specification </h3>
<p>DOM Level 0. Not part of specification.
</p>
Revert to this revision