JavaScript Reference/Javascript Methods/escape — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 11:22, 26 мая 2010
"escape()" Example
<source lang="javascript">
<html> <body> <button onclick="alert(escape("Hello World!"));">Escape function</button> </body> </html>
</source>
"escape()" Syntax, Parameters and Note
<source lang="javascript">
Note: URL-encodes the specified string.
Syntax:
escape(param1)
Parameters:
param1 Required; the string to URL-encode. </source>