jquery-获取table值

来源:互联网 发布:数据监控系统 开源 编辑:程序博客网 时间:2024/06/10 05:05
$(#table td).click(function{}{
     $(this)  获取table 一个单元的值
})


$(#table tr).click(function(){
     
       var tager =$(this).children("td").eq(0).text();获取table 一行的某列的值
})