任何线索如何通过class="CenteredHeader"
来访问每个th
以通过jQuery向a
标记添加更多参数?更改th标记值
<tr class="CenteredHeader">
<th scope="col"></th>
<th scope="col">
<a href="/BoxOffice/Movies/807?sort=MovieName&sortdir=ASC">Pelicula</a>
</th>
<th scope="col">
<a href="/BoxOffice/Movies/807?sort=TechnologyName&sortdir=DESC">Tecnologia</a>
</th>
</tr>
这个问题也可以帮助你:http://stackoverflow.com/questions/11369182/how-替换元素-attr-href -with-each-strip-url – 2012-08-14 12:06:15
+1好问题。如果我在回答中投票,这只是公平的假设这是一个很好的问题:) – Nope 2012-08-14 12:10:34