getElementById 가져온 태그를 checked 추가 하는 방법
본문
<script>
jQuery(function() {
var aaa= document.getElementById("service_employ_reading");
console.log(aaa);
//그다음에 어떻게 해야되나요?ㅠ,.ㅠ
});
</script>
//console.log 출력값
<input type="checkbox" name="service[]" onclick="sss.bbbb(this)" value="employ_reading" addition="" effect="" id="service_employ_reading">
페이지 열자마자 자바스크립트 제이퀄리로 checkbox 자동 체크 되게 하고싶은데요
어떻게 해야되는건지 ㅠ,ㅠ
!-->
답변을 작성하시기 전에 로그인 해주세요.