jquery selectbox1 [jQuery] select box정복하기 data- var searchLongMajorSeq = $('#onChange_searchLongMajorSeq option:selected').val(); # 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 Title main text 1 main text 2 main text 3 main text 4 $(function () { $("#opt1").on("change", function () { var value = $(this).val(); // var subValue = $(this).find("option:selected").data("sub"); // var subValue = $(this).find(':selected')... 2023. 11. 7. 이전 1 다음