Site_Of_R 08 Nov 2011 on tech jq1.7==魂淡 //in this example, a click handler will be attached to every table row. $("#dataTable tbody tr").on("click", function(event){ alert($(this).text()); }); 好吧,click() bind() live()不分了,event handle大统一了,甚至连best practice都广为流传了: //in this example, the bound element is the tbody, not the tr's under the tbody. //the second argument in the .on call is used, in this case, we pass the "tr" selector. $("#dataTable tbody").on("click","tr", function(event){ alert($(this).text()); }); 魂淡,这你叫我肿么炫耀我知道live最效率啊!!!