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!!!
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
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