I have this html and want to traverse the dom and place a value in the span that has the
class="center"
after the page is loaded using jquery. I must take into consideration that the are other html on the same page with same structre as this. The only difference is that each of them has a unique td id. Here is the 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>
1 Answer