jQuery 教程
jQuery HTML/CSS 方法
返回 <div> 元素的內(nèi)部高度:
innerHeight() 方法返回第一個匹配元素的內(nèi)部高度。
如下面的圖像所示,該方法包含 padding,但不包含 border 和 margin。
相關(guān)方法:
通過相關(guān)方法顯示尺寸 如何使用 width()、height()、innerHeight()、innerWidth()、outerWidth() 和 outerHeight()。