I have two items in the Dropdown list and i have the code for getting Selected Item.But now i want to Get the Non Selected index from the Dropdown List. Here is the code for getting selected Value : $("select[name='SelectInning'] option:selected").index()
I have two items in the Dropdown list and i have the code for
Share
check out this , it may works
$("select[name='SelectInning'] option:not(:selected)")It works: check out this jsfiddle link