jQuery:
$("select:[id='test'] option").each(function () {
alert( $(this).text());
})
js:
var opt = document.getElementById("test");
for (var i = 0; i < opt.length; i++) {
if (opt[i].selected == true) {
alert(opt[i].innerText);
}
}