html select selected jquery code example
Example 1: jquery selected option
$( "#myselect option:selected" ).val();
Example 2: get selected element html jquery
$('.classSelector')[0].outerHTML
$( "#myselect option:selected" ).val();
$('.classSelector')[0].outerHTML