[jQuery] help: add click event to <TD> element
What I'm trying to do is to add a click event to all <TD> element with
class name 'backtotop'. The code works in IE, but not in Fx; It seems
like Fx can execute select and focus on the second line too, just not
the line containing "trigger".
$("td.backtotop").click(function(){
$("a.nav").trigger('click');
$("input[@name=keyword]").select().focus();
});
Any suggestion? Thanks a lot.