Programming/jquery
jquery select 인덱스 얻기
구차니
2018. 12. 5. 17:07
alert($("#dropDownMenuKategorie")[0].selectedIndex); Update: Since version 1.6 jQuery has the prop method that can be used to read properties: alert($("#dropDownMenuKategorie").prop('selectedIndex')); |
[링크 : https://stackoverflow.com/questions/13556941/get-index-of-selected-option-with-jquery]