PDA

Click to See Complete Forum and Search --> : Starting java scripts


Cease
Jul 1st, 2000, 03:06 AM
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

Jul 2nd, 2000, 10:13 AM
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>