JScript 8.0
decodeURI 方法

傳回編碼的統一資源識別元 (URI) 的解碼版本。

function decodeURI(URIstring : String) : String
引數

URIstring

必要項。一個代表編碼的 URI 的字串。

備註

使用 decodeURI 方法來取代過時的 unescape 方法。

decodeURI 方法會傳回字串值。

如果 URIString 無效,就會發生 URIError

需求

5.5 版

套用至:

請參閱

參考

decodeURIComponent 方法
encodeURI 方法

標記 :


Page view tracker