i coded a dropdown menu and wanted to give a ID to each item on the list, is that possible? how do i do that? I’m doing a JS bootcamp and got hired as an intern so im a rookie. need help!!!
Not enough INPUT !
Anyway, the DropDown already has his own INDEX ! You can simply use it
All you want to know about the DropDown, you will find here…
https://www.wix.com/corvid/reference/$w/dropdown
Get the selected Index of the DropDown.
let dropdownSelIndex =$w("#myDropdown").selectedIndex;// 3