장바구니 기능 구현 (1) 썸네일형 리스트형 html input checkbox checked 확인방법 html input checkbox checked 확인방법 input ckeckbox 체크 확인 $("#check-box-3").is(":checked") // boolean 📄 html input 태그에 type이 'checkbox'이면, 체크박스가 생성된다. 장바구니에 담긴 상품 가져올 때, client storage에 저장 window.localStorage.setItem('productIdList', productIdList); productIdList라는 key값을 가지는 productIdList(array) 저장! 장바구니 모든 목록 가져오기 📄 front function showProductsInCart() { $("#products-in-carts").html(""); $.ajax({ ty.. 이전 1 다음