2010-04-30 28 views
1

例如,我关联的一些元素下面的函数现在如何查看相关的点击功能代码

$('table#users tbody tr:first #save').click(function(){ 
    $(this).closest('tr').remove(); 
}); 

,如果我不知道这个功能是存储做,有没有查看与点击相关联的方式()代码?在上面的例子中,我希望有一个方法来查看,在萤火,或者以另一种方式

$(this).closest('tr').remove(); 

如果我写如下的控制台,我得到一个链接到DOM查看

>>> ($('table#users tbody tr:first #save').click) 
function() 

但链接是为jQuery库,而不是我想要的代码。

回答