• Comercializadora de Trigo S.A.
  • Horario de atención: 09:00 a 13:00 - 15:00 a 18:00 hrs.

Mercado de Cereales

$(function() { $('.js-check-all').on('click', function() { if ( $(this).prop('checked') ) { $('th input[type="checkbox"]').each(function() { $(this).prop('checked', true); $(this).closest('tr').addClass('active'); }) } else { $('th input[type="checkbox"]').each(function() { $(this).prop('checked', false); $(this).closest('tr').removeClass('active'); }) } }); $('th[scope="row"] input[type="checkbox"]').on('click', function() { if ( $(this).closest('tr').hasClass('active') ) { $(this).closest('tr').removeClass('active'); } else { $(this).closest('tr').addClass('active'); } }); });