Hallo,
Kann man da was tun?
jQuery richtig verwenden.
Vorher:
$('input').each(function(){
$(this).attr('checked','checked');
})
Nachher:
$('input').[link:http://api.jquery.com/prop/@title=prop]('checked', true);
Noch eine Optimierung:
var thisClassName = $(this).parent().attr('class');
(table.hasClass(thisClassName)) ? table.removeClass(thisClassName) : table.addClass(thisClassName);
Suchst du vielleicht toggleClass?
Mathias