Retrieves the URL for the document, stripped of any character encoding.
dhtml语法
[ surl = ] document.urlunencoded
dhtml可能的值
sUrl | String that
receives the URL of the document. |
The property is read-only.
The property has no default value.
Remarks
For more information about URL character encoding issues, refer to rfc-1738 on uniform resource locators (url) .
DHTML代码范例
The following illustrates the difference between the value returned by the URLUnencoded property
versus the value returned by the url property of the document.
<SCRIPT>
function window.onload()
{
oURL.innerText = document.URL;
oURL2.innerText = document.URLUnencoded;
}
</SCRIPT>
This feature requires Microsoft® Internet Explorer 5.5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.
是否符合公共标准
There is no public standard that applies to this property.
Applies To