JQuery: radio 버튼 값 설정, 버튼 값 가져오기
0. html 전체검색 이름 아이디 Colored by Color Scriptercs 1. radio 버튼 설정하기$('input:radio[name=radio_button]:input[value=' + buttonOn + ']').attr("checked", true); Colored by Color Scriptercs 2. 선택한 radio 버튼 값 가져오기var buttonOn= $(":input:radio[name=radio_button]:checked").val(); Colored by Color Scriptercs
분리수거 대기중
2019. 3. 27. 10:18