Export (0) Print
Expand All

onselectstart event

Fires when the object is being selected.

Syntax

HTML Attribute <element onselectstart = "handler(event)">
Event Property object.onselectstart = handler;
attachEvent Method object.attachEvent("onselectstart", handler)
addEventListener Method object.addEventListener("selectstart", handler, useCapture)

 

Event information

SynchronousNo
BubblesYes
CancelableYes

 

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Standards information

There are no standards that apply here.

Remarks

The object at the beginning of the selection fires the event.

Moves the selection to an object and highlights that selection.

To invoke this event, do one of the following:

  • Begin selecting one or more objects.

The pEvtObj parameter is required for the following interfaces:

See also

Reference
HTMLOptionButtonElementEvents2::onselect
IHTMLInputElement::select

 

 

Community Additions

ADD
Show:
© 2014 Microsoft