Since
$("table").delegate("td", "hover", function(){
$(this).toggleClass("hover");
});
Is equivalent to the following code written using .live():
$("table").each(function(){
$("td", this).live("hover", function(){
$(this).toggleClass("hover");
});
});
according to jQuery API.
I bet I'm wrong but isn't it the same of writing
$("table td").live('hover', function() {});
So, what's is .delegate()
for?