标签:
1.取值问题
<table id="tab"> <tr>
<td class="center">alice</td>
<td class="center">summer shoe</td>
<td class="center">468.00</td>
</tr>
</table>
jQuery获取td的text :
var tr = $("#tab tr:first");//第一个tr var tds = tr.children();//所有td $(tds[0] ).text() //就是 alice
标签:
原文地址:http://www.cnblogs.com/hongyedeboke/p/5789052.html