I have a JavaScript that does the function of grouping items in a table.
For example I click on it and it expands bringing more values of this item. The problem is that IE 8 does not work. In Chrome and Mozilla the function works normally.
function ocultarColunasNaoAgrupadas(){
$('#tabelaPainelCnab tbody tr td').each(function() {
var idCell = $(this).attr('name');
if (idCell == 'identQuebraMes') {
var cellTextMes = ''+ $(this).html();
}
if (idCell == 'identQuebraCarteira') {
if ($(this).html().length > 0 ) {
$(this).closest('tr').attr('agrupador', 'N');
//$(this).closest('tr').slideToggle(300)
$(this).closest('tr').hide();
} else {
$(this).closest('tr').hide();
$(this).closest('tr').attr('agrupador', 'S');
$(this).closest('tr').attr('class', 'header');
$(this).closest('tr').show();
}
}
});
}