Obtenha texto de opção selecionada JS
var sel = document.getElementById("box1");
var text= sel.options[sel.selectedIndex].text;
Encouraging Elephant
var sel = document.getElementById("box1");
var text= sel.options[sel.selectedIndex].text;
// Get highlighted text this way:
window.getSelection().toString()
function disp() {
var text = document.getElementById("text");
var t = text.value.substr(text.selectionStart, text.selectionEnd - text.selectionStart);
alert(t);
}