www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 URLUnencoded Property
URLUnencoded Property

Gets 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) World Wide Web link.

Example

The following illustrates the difference between the value returned by the URLUnencoded property and 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
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG