正文 224字数 53,512阅读

$("#content").height(); $("#content").innerHeight();//元素内部区域高度,忽略padding、border $("#content").outerHeight();//忽略边框 $("#content").outerHeight(true);//包含边框高度
Run code
Cut to clipboard