답변 5개
채택된 답변
+20 포인트
마르스컴퍼니
Expert
4년 전
</p>
<p><script></p>
<p>$(function() {
$('.td_delino input[name^=od_invoice]').on('change', function() {
var idx = $(this).index('.td_delino input[name^=od_invoice]');
$('#chk_' + idx).prop('checked', true);
});
});</p>
<p></script></p>
<p>
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
마르스컴퍼니
Expert
4년 전
$('#chk_' + idx).prop('checked', true);
->
if ($(this).val() == "")
$('#chk_' + idx).prop('checked', false);
else
$('#chk_' + idx).prop('checked', true);
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인