| 
| 
 
| 
  
    | 
      
        | javascript 加密解密函数详解  |  
        | 
          
            |  |  
            | 来源:互联网  作者:本站整理  发布时间:2007-12-24 |  
            |  |  |  
        
          | 
 
 unescape 方法
 
 
    
        
            | 以下为引用的内容: 从用 escape 方法编码的 String 对象中返回已解码的字符串。
 function unescape(charString : String) : String
 参数
 charString
 必选。要解码的 String 对象或文本。
 备注
 unescape 方法返回一个包含 charstring 内容的字符串值。所有以 %xx 十六进制形式编码的字符都用 ASCII 字符集当中等效的字符代替。
 以 %uxxxx 格式(Unicode 字符)编码的字符用十六进制编码 xxxx 的 Unicode 字符代替。
 注意 unescape 方法不应用于解码“统一资源标识符”(URI)。请改用 decodeURI 和 decodeURIComponent 方法。 phperz~com
 要求
 版本 1
 请参见
 decodeURI 方法 | decodeURIComponent 方法 | escape 方法 | String 对象
 适用于:Global 对象
 |  
 decodeURI 方法
 
    
        
            | 以下为引用的内容: 返回一个已编码的统一资源标识符 (URI) 的非编码形式。
 function decodeURI(URIstring : String) : String
 参数
 URIstring
 必选。表示编码 URI 的字符串。
 备注
 使用 decodeURI 方法代替已经过时的 unescape 方法。
 decodeURI 方法返回一个字符串值。
 如果 URIString 无效,将发生 URIError。
 要求
 版本 5.5
 phperz.com 请参见
 decodeURIComponent 方法 | encodeURI 方法
 适用于:Global 对象
 |  
 decodeURIComponent 方法
 
    
        www~phperz~com
            | 以下为引用的内容: 返回统一资源标识符 (URI) 的一个已编码组件的非编码形式。
 function decodeURIComponent(encodedURIString : String) : String
 必选的 encodedURIString 参数是一个表示已编码的 URI 组件的值。
 备注
 URIComponent 是一个完整的 URI 的一部分。
 如果 encodedURIString 无效,则将产生 URIError。
 要求
 版本 5.5
 请参见
 decodeURI 方法 | encodeURI 方法
 适用于:Global 对象
 |  
 
 |  
          | 上一页 1 2下一页 |  
          | [收藏此页] [打印本页] [返回顶部] |  |  
    |  |  |   
|  |   
|  |  |  |  |  |