From 1dfe6e1958f332e5c441babb77d7acba55b86792 Mon Sep 17 00:00:00 2001 From: thisgun Date: Thu, 17 May 2018 13:49:46 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=A5=EB=B0=94=EA=B5=AC=EB=8B=88=20?= =?UTF-8?q?=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20size()=20=EB=A5=BC=20len?= =?UTF-8?q?gth=20=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/cart.php | 4 ++-- shop/cart.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mobile/shop/cart.php b/mobile/shop/cart.php index 2d346b5a2..83d1c6c4c 100644 --- a/mobile/shop/cart.php +++ b/mobile/shop/cart.php @@ -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; } diff --git a/shop/cart.php b/shop/cart.php index 51b580a75..b15256331 100644 --- a/shop/cart.php +++ b/shop/cart.php @@ -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; }