纯javascript:
window.document.getElementById('MainColumn').offsetHeight
jquery:
$('#id').get(0).offsetHeight
纯javascript:
window.document.getElementById('MainColumn').offsetHeight
jquery:
$('#id').get(0).offsetHeight
转载于:https://www.cnblogs.com/EasonJim/p/6229441.html