Call javascript function in body onload event : body onload javascript

Call javascript function in body onload event 




<html>
<head>
<title> body onload javascript</title>
<script type="text/javascript">

    function demo() {

        document.write("onload");
    }

</script>
</head>
<body onload="demo();">
</body>


EmoticonEmoticon