Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
HTML and CSS
Properties
 URLUnencoded Property

  Switch on low bandwidth view
URLUnencoded Property

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

Syntax

[ sUrl = ] object.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, HTMLDocument Constructor
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker