我有一个div,我需要得到的高度。它在一个div里面,里面有几个div。他们都在一个类似的股利结构。我做了一个js小提琴来说明我的问题以及迄今为止我所拥有的。 http://jsfiddle.net/K3dx5/获得另一个div内的div的高度
所以,基本上我需要得到单击链接(400px)时,第二个链接(200px)上的第一个div的高度。
<div class="wrapper"> <div class="one"> <!--I need to get the height of this div --> <div class="NotThisone"> <div class="No"> <a class="anchor">ONE</a> </div> </div> </div> <div class="two"> <!--I need to get the height of this div --> <div class="NotThistwo"> <div class="No"> <a class="anchor">TWO</a> </div> </div> </div>
谢谢