Name
Select.onchange — the handler invoked when the selection changes
Availability
JavaScript 1.0
Synopsis
<select ... onchange="handler
" ... >select.onchange
Description
The onchange
property of a Select object refers to an event handler function that
is invoked when the user selects or deselects an option. See the
Input.onchange reference page for further details on
this event handler.
See Also
Input.onchange, Option; Chapter 19; Event, EventListener, and EventTarget in the DOM reference section
Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.