How to determine what is selected in the drop down? In Javascript.
If your dropdown is something like this:
one two
Then you would use something like:
var a = document.getElementById("thedropdown"); alert(a.options[a.selectedIndex].value);
But a library like jQuery simplifies things:
alert($('#thedropdown').val());