Forum Moderators: open
When the page opens, I'm trying to load a couple of functions. So far, this is the script I'm using:
...
<head>
...
<script type="text/javascript">
window.onload=function(){
header();
alert("test");
}
</script>
</head>
...
Unfortunately, this only operates until the page has been fully loaded. Is there a trigger I can use before the page fully loads?
I tried unsuccessfully:
...
<head>
...
<script type="text/javascript">
header();
alert("test");
</script>
</head>
...