Answer the question
In order to leave comments, you need to log in
Why is there no addition after cleaning?
$('.product-btn').click(function() {
/* очищаю содержимое попапа */
$("#popup_inner").empty();
/* теперь по очереди переношу в сплывающий блок заголовок */
$(this).parent().find('h3').clone().appendTo("#popup_inner .modal-desc");
$(this).parent().find('.size').clone().appendTo("#popup_inner .modal-desc");
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question