get attribute of selected option jquery
$('#location').find('option:selected').attr('myTag');
0
8
var option = $('option:selected', this).attr('mytag');
Thank you!
8
0
Are there any code examples left?
New code examples in category Javascript