assuming your html is like that :
<select id= "tables" name= "tables">
<option value="">-- Select --</option><!-- setting the value to none -->
<option value = student> Student</option>
<option value = teachers > Teachers </option>
</select>
With jQuery, it'll be the change
event :
$('#tables').on('change', function(e) {
var value = $(this).val();
if(value.length != 0) {
alert(value);
}
});