Capture Option data on Select Change
Feb 17, 2024 · 1 min read · Sometimes we want to 'listen' to an event change of the select element. Especially when the option is changed - and get the newly selected value and store it elsewhere. For this we use onchange on the select element and not on the option element. The...
Join discussion
