<table id="droppable" border="1" style="position: relative">
<tr>
<td>a1</td>
<td>b1</td>
<td>c1</td>
<td>d1</td>
<td>e1</td>
<td>f1</td>
</tr>
<tr>
<td>a2</td>
<td>b2</td>
<td>c2</td>
<td>d2</td>
<td>e2</td>
<td>f2</td>
</tr>
<tr>
<td>a3</td>
<td>b3</td>
<td>c3</td>
<td>d3
<div id="abs" style="position: absolute; height: 50px; width: 50px;background- color: red">asdasd</div>
</td>
<td>e3</td>
<td>f3</td>
</tr>
<tr>
<td>a4</td>
<td>b4</td>
<td>c4</td>
<td>d4</td>
<td>e4</td>
<td>f4</td>
</tr>
<tr>
<td>a5</td>
<td>b5</td>
<td>c5</td>
<td>d5</td>
<td>e5</td>
<td>f5</td>
</tr>
<tr>
<td>a6</td>
<td>b6</td>
<td>c6</td>
<td>d6</td>
<td>e6</td>
<td>f6</td>
</tr>
</table>
直播:http : //jsfiddle.net/qYNjP/1/
如何使用 jQuery 获取 div#abs 下的所有元素?
在这个例子中,我想接收带有 td {d4, d5, d6, e4, e5, e6, f4, f5, f6} 的对象