개발자의 끄적끄적

[javascript/jquery] jquery get radio checked value example / jquery radio 선택값 가져오기 본문

개발/javascript & jquery

[javascript/jquery] jquery get radio checked value example / jquery radio 선택값 가져오기

효벨 2022. 5. 20. 01:00
728x90
반응형

[javascript/jquery] jquery get radio checked value example / jquery radio 선택값 가져오기

 

 

jquery 에서

 

radio 버튼의 선택값을

 

가져와야 하는 경우가 있습니다!

 

그럴때는 아래와 같이

 

jquery 를 사용하시면 됩니다!

 

$("input[name='radio_btn']:checked").val();

 

참고들 하세요!

반응형
Comments