HBCMS更多的中文手册参考:

URL参数属性

DHTML文档教程

Sets or retrieves the URL for the current document.

dhtml语法

document.URL [ = sURL ]

DHTML可能的值

sURLString that specifies or receives the URL.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.

remarks

the url property is case-sensitive.

this property is an alias for the location.href property on the window.

DHTML代码范例

This example function returns the URL property of the current document.

function getURL()
{
return document.URL;
}

是否符合公共标准

This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

document

更多语法参考

urn, URLUnencoded