Best Jquery ,javascript, HTML5 CSS3 tutorial with jquery examples, php script , demos for beginners, web designers and web developers.

Jquery

Jquery Training

Jquery training blog

Alternative of document ready in pure javascript

Alternative of document ready in pure javascript. In jquery we use document ready just using javascript library Alternative of document ready in pure javascript. In jquery we use document ready just using javascript library and using the code $(document).ready(function(){}); But if we are not using the javascript library how to do any thing on document ready.The be Continue Reading


Alternative of document ready in pure javascript. In jquery we use document ready just using javascript library Alternative of document ready in pure javascript. In jquery we use document ready just using javascript library and using the code $(document).ready(function(){}); But if we are not using the javascript library how to do any thing on document ready.The be

<html lang="en">
<title>Alternative of document ready in pure javascript</title>
<head>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function() {
 document.getElementById("msg").innerHTML="Welcome to my site";
 });
</script>
</head>
<body>
<div id="msg"></div>
</body>
</html>
Please follow and like us:






About the author

Joydeb Choudhury holds a Master's degree in Computer Application from I.G.N.O.U. After working as a web developer in various companies he has started bloging in 2016.

Recent Posts of blog

Downalod Free Php Scripts