with the Listen plugin i have something like this:

$("tbody").listen("click", "td", function(e) {
  $(this).addClass("edit").html("<input type='text' />");
  $("input", $(this)).each(function() {$(this).focus()});
})

is it appropriate to use $(this).addClass instead of $(e.target).addClass
inside the handler? it seems to work using $(this) but i'm not sure if
that's the intended implementation.

thaks,
Leon
-- 
View this message in context: 
http://www.nabble.com/bind%28%29-and-thousands-of-%3Ctd%3E-elements---inline-or-extrnal--tp16352984s27240p16399033.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to