The following table illustrates the difference between the values returned by the document object's URUnencoded property and the URL property. Note the presence of the encoded space character, %20, in the document.URL value.
For more information on character encoding in URLs, refer to RFC 1738
.
| document.URL | |
|---|---|
| document.URLUnencoded |
[Right-click and choose View Source from the shortcut menu.]
© 2007 Microsoft Corporation. All rights reserved. Terms of use.