我已:
<table>
<tr><td has="one">test</td><td has="three">test</td></tr>
<tr><td has="two">test</td><td has="four">test</td></tr>
</table>
table td {
border: solid 1px green;
padding: 3px;
}
我谨接受:
<table>
<tr><td has="one"><span class="one">test</span></td><td has="one"><span class="one">test</span></td></tr>
<tr><td has="one"><span class="one">test</span></td><td has="one"><span class="one">test</span></td></tr>
</table>
Attribute has == class in new span.
联系人: http://jsfiddle.net/LgE3q/。
I must use jQuery. Is possible?