最佳答案
var s = document.getElementById("leftcolumn").offsetHeight; // you can change leftcolumn here with your left column id
document.getElementById("rightcolumn").style.height = s+"px"; // you can change rightcolumn here with your right column id
关于javascript - 右列高度等于左列,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13914025/