Form Control JavaScript DHTML




function getText(){
    var x=document.getElementById("aSelectControl")
    alert(x.options[x.selectedIndex].text)
}




Select your favorite language: