110,545
社区成员
发帖
与我相关
我的任务
分享
$(function () {
var height = $("#div_left").height();
$("#div_right").height(height);
})
<div style="float:left;height:200px;background:#eee;" id="div_left">
ssssssss
</div>
<div style="float:left;background:#ccc;" id="div_right">
tttt
</div>