jQuery 이것도 공부해야해
jquery 동적 태그 생성후 이벤트 핸들러 적용

$(document).on('click','.removeCart', function () {
    $(this).addClass('btn_choice2').removeClass('btn_clear2');
    $(this).addClass('inputCart').removeClass('removeCart');
    var product= eval($(this).data('info'));
    $('#wishList_'+product.ProductCode).remove();
    $(this).html('담기<span class="icon"></span>');

    calcAll();
});

첨부파일
Comments
비밀글