I've got this javascript code and some tr elements inside a table, but the click event simply doesn't work on this element, I've already tried on other elements, such as div, and it worked. Does anybody know why?
$(document).ready(function() {
$('tr').bind('click',function(){
alert('clicked');
});
});