Skip to content

OnLocationHashChange - cBaseLocalControlHost

Contains the location hash part of the URL

Type: Event

Parameters

Parameter Type Description
sHash String The new hash string

Syntax

Procedure OnLocationHashChange String sHash

Description

This property contains the location hash part of the URL.

The location hash is the part of the URL following the # symbol.

Note that changes to this hash by functions like HistoryPushState, HistoryReplaceState and NavigateToPage are not reflected until the next server round-trip.