MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla

Compare Revisions

window.escape

Change Revisions

Revision 69910:

Revision 69910 by Sheppy on

Revision 336921:

Revision 336921 by ethertank on

Title:
window.escape
window.escape
Slug:
DOM/window.escape
DOM/window.escape
Tags:
DOM, Gecko, DOM_0, "Gecko DOM Reference"
"DOM_0", "Gecko DOM Reference", "DOM", "Gecko"
Content:

Revision 69910
Revision 336921
n7    <p>n7    <div>
8      {{ DomRef() }}8      {{DomRef}}
9    </p>9    </div>
10    <h3 id="Summary" name="Summary">10    <h2 id="Summary" name="Summary">
n12    </h3>n12    </h2>
n16    <h3 id="Syntax" name="Syntax">n16    <h2 id="Syntax" name="Syntax">
n18    </h3>n18    </h2>
19    <pre class="eval">19    <pre class="syntaxbox">
n30    <h3 id="Example" name="Example">n30    <h2 id="Example" name="Example">
n32    </h3>n32    </h2>
33    <pre class="eval">33    <pre class="brush:js">
34alert(escape("<span class="nowiki">http://www.cnn.com</span>")); 34alert( escape("http://www.cnn.com") ); // displays: http%3A//www.
>// displays: http%3A//www.cnn.com>cnn.com
n36    <h3 id="Notes" name="Notes">n36    <h2 id="Notes" name="Notes">
n38    </h3>n38    </h2>
n43      See also {{ domxref("window.unescape()") }}, <code><a href=n43      See also {{domxref("window.unescape()")}}, <code><a href="/
>"/en/JavaScript/Reference/Global_Objects/encodeURIComponent" titl>en-US/docs/JavaScript/Reference/Global_Objects/encodeURIComponent
>e="DekiScript Code Snippets">encodeURIComponent()</a></code>.>" title="DekiScript Code Snippets">encodeURIComponent()</a></code
 >>.
n45    <h3 id="Specification" name="Specification">n45    <h2 id="Specification" name="Specification">
n47    </h3>n47    </h2>
t49      {{ DOM0() }} Mentioned in a non-normative section of ECMA-2t49      {{DOM0}} Mentioned in a non-normative section of ECMA-262.
>62. 
50    </p>
51    <p>
52      {{ languages( { "ja": "ja/DOM/window.escape" } ) }}

Back to History