I have the following select:
12:00 am&
You can also try this:
$('#end option:selected').prop('index')
This worked for me. The attr('selectedIndex') only brought up undefined with the select list.
attr('selectedIndex')