I have a div defined with a style like this:
<div id="div1" style="width:600;height:600;border:solid 1px"></div>
How can I change the height of the div by Javascript with a function?
<script type="text/javascript">
function changeHeight(height) {
var node = dojo.byID("div1");
// change height?
}
<a href="javascript:changeHeight(300);">Change height to 300</a>