Click to return to the DHTML, HTML     
fromElement Property     height Property     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

hash Property


Sets or retrieves the subsection of the href property that follows the hash (#) mark.

Syntax

HTMLN/A
Scriptingobject.hash [ = sHash ]

Possible Values

sHashString that specifies the part of the URL following the hash (#) mark.

The property is read/write with no default value.

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

Remarks

If there is no hash mark, this property returns an empty string.

This property is useful for moving to a bookmark within a document. Assigning an invalid value does not cause an error.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
HTML N/A
Scripting A, AREA, location


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.