Call javascript Onload function in body

Akiii
Posted by Akiii under JavaScript category on | Points: 40 | Views : 2328
Refer below if you want to call onload function.

<html>
<head>
<title></title>
<script type="text/javascript">
function callme()
{
alert("dotnetfunda");
}
</script>
</head>
<body onload="callme()">
</body>
</html>


The function is called when the body loads.


Thanks and Regards
Akiii

Comments or Responses

Login to post response