This is pretty rudimentary, but I want to know how I can access a property like height as a string. The mouseover alert here simply returns "undefined" (and saying height.value in the alert doesn't help either):
<html>
<body>
<div id="wut" align="center" height="10" onmouseover="alertheight()">
hi.
</div>
<script type="text/javascript">
function alertheight() {
alert(document.getElementById("wut").height);
}
</script>
</body>
</html>