Set cursor to pointer on all rows in a particular table
I'd like to change the mouse cursor to a pointer for the rows in a particular table but I'm not having any luck getting it to work. Here are some of the things I have tried, but the cursor resolutely refuses to change for me:
$("#firmtable tr").hover(function() {
$(this).css("cursor","pointer");
}, function() {
$(this).css("cursor","default");
});
$("#firmtable tr").css("cursor","pointer");
Nothing I have tried has made any change at all.
Thanks