Category: Javascript

Call javascript after page load

By , July 24, 2009 8:00 pm

Recently I required to call a function after a page load in my project.

onLoad event is available in html but not like afterLoad or offLoad event in html.

I found  one of the easiest  solution. Just call a function at end of the page.  :)


<html>

<body>

.....

<script>function_name();</script>

</body>

</html>

Is that so simple?

Panorama Theme by Themocracy