Help with the script:
There are 2 tables with different classes ( desktop-table and mobile-table ), but the cells have the same classes. Implemented as follows:
$('.price-table.desktop-table td').each(function(key, value){ $(this).attr('class', 'cell-blok-'+key); }); $('.price-table.mobile-table td').each(function(key, value){ $(this).attr('class', 'cell-blok-'+key); }); How can JQuery move the entire nested context between them?