Open jpelay opened 3 months ago
Hi @jpelay, check out our Select API documentation and Events section. There are available events in the Select component. If you want to do something when the option is selected, just get a select element by id and add an event listener on it - if there is no id, just add it to the select tag.
I have two selects in one page and I want to attach an event handler to do something when they are selected, but there's no way to target each one of these divs, because as far as I can see there's no
id
orname
I can know in advance.