how to get the selected index of dropdown in jquery

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

Also in JavaScript: