$("#target").change( function() {
alert($("#target option:selected").val());
});
You might also need to consider this if the person doesn't change this setting, but just clicks on the dropdown and selects the same item:
$("#target option").click( function() {
alert($("#target option:selected").val());
});
source
to share