<select onChange="">
Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
- Attribute of
- The Role Of In HTML Forms (To Create Drop-Down Lists)
- What does
<select onChange="">
do? - Triggers an event when the selection is changed.
Event Handling With the Select Element
The onChange
attribute of <select>
lets you dynamically change something on screen, without reloading the page. For example, your can use it to display a particular image, depending on the user’s selection.
Browser Support for onChange
All | All | All | All | All | All |