點擊與類價格「向前」應採取數據「我想這個數據」獲取數據的最近兄弟的形式
<span class="onward">4518</span>
<table>
<tr>
<td class="select_fly">
<form>
I want this data
</form>
</td>
</tr>
</table>
$(document).on('click', '.onward', function(){
var owner = $(this).closest('td').siblings('td.select_fly').html();
console.log(owner);
});
但對我來說所有者來爲「不確定」任何人都可以幫助我如何獲取數據「我想要這個數據」
請參閱[「應該在其標題中包含」標籤?「](http://meta.stackexchange.com/questions/19190/should-questions-include-tags-in-their-titles),其中共識是「不,他們不應該」! – 2015-04-01 13:29:34