장바구니에서 모두 선택 되지 않던 오류 수정

This commit is contained in:
chicpro
2013-05-27 13:59:24 +09:00
parent e32295c829
commit 90aa6ab3f5

View File

@ -241,9 +241,9 @@ $(function() {
// 모두선택
$("input[name=ct_all]").click(function() {
if($(this).is(":checked"))
$("input[name='ct_chk[]']").attr("checked", true);
$("input[name^=ct_chk]").attr("checked", true);
else
$("input[name='ct_chk[]']").attr("checked", false);
$("input[name^=ct_chk]").attr("checked", false);
});
});