This is my home project. I tried through localStorage I didn’t even catch up on how to implement it ...
$( ".myCheck" ).click(function() { $(this).toggleClass('jquery-checkbox-on'); if($(".myCheck").hasClass('jquery-checkbox-on')){ content = $( "div.props:contains('Нет в наличии')" ).parent().parent().detach(); }else { content.appendTo(".b-grid-iaCtqJ7Nfn"); } });
localStorage. If the user chooses the color of the button, thenlocalStorageis generally the best place to keep it when navigating between pages. - teransessionStorage. - teran