Add class to <tr> in IE?

Add class to <tr> in IE?

Help!

I'm trying to get jQuery to add a background color to a table row when a checkbox is clicked. It works great in FF but I just can't get it right in IE. Here is my jQuery:

$('#table tr').click(function() {
$(this).addClass('highlight');
}, function() {
$(this).removeClass('highlight');
});

This code is working when I apply it to a <TD> or other element, but I can't figure it out for the <TR>. Any suggestions?

Thanks!!