我有一些可怕的代码我必须处理
... <div class="container"> ... <tr> <td width="100" height="50"> <a class="swaps"><img src="http://www.blah.jpg" alt="Some Title" id="1"></a></span></td> </tr> <tr> <td width="100" height="50"> <a class="swaps"><img src="http://www.blah2.jpg" alt="Another title" id="2"></a></span></td> </tr> </div>
如果我使用
var thisone = $(“#container .swaps:first”)
选择第一个(ID为1)为什么我在选择时遇到问题
thisone.next()?