
JavaScript 1
By: a guest on
May 1st, 2010 | syntax:
HTML | size: 0.28 KB | hits: 132 | expires: Never
<html>
<head>
<script type="text/javascript">
function message()
{
alert("This alert box was called with the onload event");
}
</script>
</head>
<body onload="message()">
<script type="text/javascript">
alert("This was called from the page")
</script>
</body>
</html>