You are here: irt.org | FAQ | JavaScript | General | Q688 [ previous next ]
In a function that is called by an onLoad event handler:
<HTML> <HEAD> <SCRIPT LANGUAGE="JavaScript"><!-- function functionName() { // include your code here } //--><SCRIPT> </HEAD> <BODY onLoad="functionName()"> ... </BODY> </HTML>