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