onselect

Fires when the current selection changes.

Parameters

ev

The event.

MDN Reference