EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

onselect event

Fires when the current selection changes.

HTML 4.01 Specification, Section 18.2.3

 

Syntax

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

 

Event information

SynchronousNo
BubblesNo
CancelableYes

 

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Standards information

Remarks

Moves the selection to a given character and highlights that selection.

To invoke this event, do one of the following:

  • Move the mouse from character to character during a drag selection.
  • Press the SHIFT key while moving the cursor over text.

See also

Reference
HTMLOptionButtonElementEvents2::onselectstart
IHTMLInputElement::select

 

 

커뮤니티 추가 항목

추가
표시:
© 2014 Microsoft