You want the ‘change’ event handler, instead of ‘click’.
$('#mySelect').change(function(){
var value = $(this).val();
});
You want the ‘change’ event handler, instead of ‘click’.
$('#mySelect').change(function(){
var value = $(this).val();
});