simple error !!!!

Giganews Newsgroups
Subject: simple error !!!!
Posted by:  Java_Forum (hbekka…@wanadoo.fr)
Date: Thu, 4 Sep 2003

i have an error with this page, what's wrong, i am newbie in javascript
programming,
all i want is to perform a script before or after (anywhere) an html or jsp
is loaded ?

thanks for you help
here is the code

[code]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<HTML>

<HEAD>

<META name="GENERATOR" content="IBM WebSphere Studio">

<TITLE>temp.html</TITLE>

<!-- window.parent.menu.location.reload() -->

<SCRIPT language="JavaScript">

function reloadMenu()

{

alert("The page has finished loading.")

}

</SCRIPT>

</HEAD>

<BODY onLoad="reloadMenu()">

my content's page

</BODY>

</HTML>

[/code]

Replies