我有這部分多次在一個頁面:如何選擇下一個div?
<a class="showComment" style="cursor: pointer;"><i class="icon-comment"></i> Views</a>
<br />
<br />
<div class="writeComment" style="height: auto; width: 700px;" dir="ltr" hidden="hidden">
</div>
我現在在一個js文件編寫代碼爲a.showComment
點擊event.Now我想選擇下一個div.writeComment
。如何選擇呢?
define'select'it?喜歡,你想用它做什麼? – PlantTheIdea
http://stackoverflow.com/questions/9629213/jquery-select-next-div-element?rq=1 –