select option attribute selected jquery code example
Example 1: selected option attribute jquery
$('#location').find('option:selected').attr('myTag');
Example 2: $(this) option selected jquery
var cur_value = $('option:selected',this).text();
$('#location').find('option:selected').attr('myTag');
var cur_value = $('option:selected',this).text();