var sel = document.getElementById("box1");
var text= sel.options[sel.selectedIndex].text;
Discover more from Soa Technology | Aditya Website Development Designing Company
Subscribe to get the latest posts sent to your email.
in Javascript
var sel = document.getElementById("box1");
var text= sel.options[sel.selectedIndex].text;
Subscribe to get the latest posts sent to your email.