Share via


AnchorElement.hash Property

SharePoint Designer Developer Reference

Returns a String that represents the bookmark text in the href property that follows the hash (#) mark, including the hash mark.

Syntax

expression.hash

expression   Required. A variable that represents an AnchorElement object.

Remarks

An empty String for the hash property indicates that the href attribute for an image does not reference a bookmark.

Although the Object Browser says that the hash property is read/write, if you try to set the hash property, you will receive an error. Use the href property to append a bookmark.

See Also