how To fetch the index of dropdown in html

HTML
BY LOVE
$('#ddlPartnerType option:selected').index()
Source

Also in HTML: