Jaa


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

Synchronous No
Bubbles Yes
Cancelable Yes

 

Event handler parameters

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

HTMLInputFileElementEvents::onselect

IHTMLInputElement::select