请教一下,
var source_html = <td class="center">alice</td> <td class="center">summer shoe</td><td class="center">468.00</td>
<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
要么你就用正则!