Partager via


onselectedindexchange Event

Fires when selectedIndex changes for MULTIPAGE or TABSTRIP.

Syntax

Inline HTML <ELEMENT onselectedindexchange = "handler" ... > All platforms
Event property object.onselectedindexchange = handler Microsoft JScript only
object.onselectedindexchange = GetRef("handler") Microsoft Visual Basic Scripting Edition (VBScript) 5.0 or later only
Named script <SCRIPT FOR = object EVENT = onselectedindexchange> Internet Explorer only

Event Information

Bubbles No
Cancels Yes
To invoke Select a node with the mouse or keyboard.
Default action Calls the associated event handler if there is one.

Event Object Properties

Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query the rid not found (_inet_event_Object). object for the following event properties.

Available Properties

Index
newTreeNodeIndex
oldTreeNodeIndex
page
selectedIndex

Refer to the specific event object for additional event properties.

Applies To

MULTIPAGE, TABSTRIP

See Also

Internet Explorer WebControls, About the TabStrip WebControl, About the Toolbar WebControl, About the TreeView WebControl, About the MultiPage WebControl