get selected index of class select code example
Example 1: how to get the selected index of dropdown in jquery
BY LOVE
$('#ddlPartnerType option:selected').index()
Example 2: get index of selected option javascript
$("#sel").attr("selectedIndex")
// or
$("#sel")[0].selectedIndex
//or
$(this).prop('selectedIndex')