Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 73796

Is there a LB_SETITEMDATA equivalent for an HTML drop-down list?

$
0
0

In the Windows SDK there was a method to add extra (hidden) data to each listbox item, LB_SETITEMDATA. It was very useful, i.e. you could associate an index number with the item.

Using HTML's drop-down list and JavaScript, I was hoping there might be a similar feature.


Viewing all articles
Browse latest Browse all 73796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>