Call your function in body onLoad event
|
|
<html> <head> <title>A Simple Page</title> <script language="JavaScript"> <!-- function yourMessage() { alert("Your first function!"); } // --> </script> </head> <body onLoad="yourMessage()">
</body> </html>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
|