<div id="div1" style="width:600;height:600;border:solid 1px"></div>
如何用JavaScript改变div的高度?
<script type="text/javascript"> function changeHeight(height) { document.getElementById("div1").style.height = height + "px"; } </script>