Search DaTutorials:  
HOME
DHTML Reference
Introduction
Reference

URLUnencoded Property


Retrieves the URL for the document, stripped of any character encoding.

Syntax

[ sUrl = ] document.URLUnencoded

Possible Values

sUrlString 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) Non-Microsoft link.

Example

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.

Standards Information

There is no public standard that applies to this property.

Applies To

document

     Loans | Cardcaptor Sakura Episodes | Personal Loans | Auto Loans | New Cars
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp