Question regarding Select element

Question regarding Select element

I have a select button which will create multiple select elements. How do we know which select element is selected? Is there any index value which will give the selectedindex for the select item