Published
- 1 min read
javasscript get the content inbetween a select tag
The solution for this is noted below
javasscript get the content inbetween a select tag
Solution
var sel = document.getElementById('box1')
var text = sel.options[sel.selectedIndex].text
Try other methods by searching on the site. That is if this doesn’t work