JQuery获取DIV高度
发布时间:2015-10-15, 12:35:40 分类:HTML | 编辑 off 网址 | 辅助
正文 224字数 53,512阅读
$("#content").height();
$("#content").innerHeight();//元素内部区域高度,忽略padding、border
$("#content").outerHeight();//忽略边框
$("#content").outerHeight(true);//包含边框高度
Run code
Cut to clipboard
(支付宝)给作者钱财以资鼓励 (微信)→
暂无评论 »