Form Control JavaScript DHTML



Select Inspector

function inspect(form) {
    alert(form.colorsList.options[form.colorsList.selectedIndex].text)
}





    Red
    Green