장바구니 스크립트 size() 를 length 로 수정

This commit is contained in:
thisgun
2018-05-17 13:49:46 +09:00
parent dfc6f725ef
commit 1dfe6e1958
2 changed files with 5 additions and 5 deletions

View File

@ -244,7 +244,7 @@ $(function() {
});
function fsubmit_check(f) {
if($("input[name^=ct_chk]:checked").size() < 1) {
if($("input[name^=ct_chk]:checked").length < 1) {
alert("구매하실 상품을 하나이상 선택해 주십시오.");
return false;
}
@ -268,7 +268,7 @@ function form_check(act) {
}
else if (act == "seldelete")
{
if($("input[name^=ct_chk]:checked").size() < 1) {
if($("input[name^=ct_chk]:checked").length < 1) {
alert("삭제하실 상품을 하나이상 선택해 주십시오.");
return false;
}

View File

@ -265,7 +265,7 @@ $(function() {
});
function fsubmit_check(f) {
if($("input[name^=ct_chk]:checked").size() < 1) {
if($("input[name^=ct_chk]:checked").length < 1) {
alert("구매하실 상품을 하나이상 선택해 주십시오.");
return false;
}
@ -279,7 +279,7 @@ function form_check(act) {
if (act == "buy")
{
if($("input[name^=ct_chk]:checked").size() < 1) {
if($("input[name^=ct_chk]:checked").length < 1) {
alert("주문하실 상품을 하나이상 선택해 주십시오.");
return false;
}
@ -294,7 +294,7 @@ function form_check(act) {
}
else if (act == "seldelete")
{
if($("input[name^=ct_chk]:checked").size() < 1) {
if($("input[name^=ct_chk]:checked").length < 1) {
alert("삭제하실 상품을 하나이상 선택해 주십시오.");
return false;
}