topical media & game development
professional-javascript-09-OnloadExample4.htm / htm
<html>
<head>
<title>Onload Example</title>
<script type="text/javascript">
document.body.onload = function () {
alert("loaded");
}
</script>
</head>
<body>
This example won't work because it's assigning the <code>onload</code> event handler to the wrong place!
</body>
</html>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.