我有这个 html 并想遍历 dom 并在具有
class="center"
使用 jquery 加载页面后。我必须考虑到同一页面上的其他 html 具有与此相同的结构。唯一的区别是它们每个都有一个唯一的 td id。这是html:
<table>
<tr>
<td id="bankname">
<div unselectable="on" style="-webkit-user-select: none; -webkit-tap-highlight-color:
rgba(255, 255, 255, 0); width: 66px; " class=" select-area select-modify_select
select-focus ">
<span class="left"></span>
<span class="center">B.N.S.</span>
<a class="select-opener"></a>
</div>
</td>
<tr>
</table>