<script>
$(document).ready(function(){
var divleft = document.getElementById('w191');
var divright = document.getElementById('w698');
if(divleft.scrollHeight>divright.scrollHeight){
divright.style.height=divleft.scrollHeight+'px';
}else{
divleft.style.height=divright.scrollHeight+'px';
}
});
</script>
注意红色字体的要跟你代码中DIV的ID一致,这样才能起作用。