Friday, August 16, 2013

JavaScript script head

<html>
<head>
<script type="text/javascript">
function message()
{
alert("This alert box was called with the onload event");
}
</script>
</head>

<body onLoad="message()">

</body>
</html>

Result

 

No comments: