asp.net.ph

Skip Navigation Links

hash Property

location Properties   DHTML Objects


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

Syntax


HTML N/A
Script object.hash [ = sHash ]

Possible Values


sHash String containing the part of the URL following the hash mark ( # ).

The property is read/write with no default value.

Remarks

If there is no hash, 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

A, AREA, location



>

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note