<script type="text/javascript" src="http://libs.baidu.com/jquery/1.7.0/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#table_id tr').click(function(){ var first_td_html = $(this).find('td:fir
st').html();alert(first_td_html)})
})
</script>
【 在 bizer (支持限行) 的大作中提到: 】
: 假如想获得点击的行tr中第一个td的值,这个tr的onclick事件该怎么写?万分感谢! tr没有id啥的。
--
FROM 219.236.67.*