Run attached code.
Add element "0" at position "0" five times.
Select the 3rd, the 1st, the last, etc...
I see output:
run:
Selected item 0
Selected index 0
Add element "0" at position "0" five times.
Select the 3rd, the 1st, the last, etc...
I see output:
run:
Selected item 0
Selected index 0