장바구니 스크립트 size() 를 length 로 수정
This commit is contained in:
1 parent
dfc6f725ef
commit
1dfe6e1958
2 files changed
+5
-5
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
+3
-3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user