【发布时间】:2015-03-11 18:48:17
【问题描述】:
我使用var targetHeight = jQuery('.acc-content-inner').eq(currIndex).outerHeight(); 来获取元素的高度。但是如果 div.acc-content-inner 里面有一个表格,它不会将表格的高度添加到 targetHeight
【问题讨论】:
-
你是如何以及在哪里使用这行代码的?
-
这里看起来不错jsfiddle.net/z2eounmt
标签: javascript jquery height