Okay, the onload="whatever();" starts the script when the page is fully loaded, how can youstart a script as soon as the window first opens?
Thanx
Cease
Printable View
Okay, the onload="whatever();" starts the script when the page is fully loaded, how can youstart a script as soon as the window first opens?
Thanx
Cease
just put it in the <head></head> section along with the title.
<html>
<head>
<title>My javascript page<title>
<script>
//put your code here
Alert("Hello")
</script>
</head>
<body>
</body>
</html>