Changes

Understanding JavaScript Functions

205 bytes added, 18:31, 24 April 2007
Declaring and Calling a JavaScript Function
== Declaring and Calling a JavaScript Function ==
The syntax of a JavaScript fucntion function is as follows:
<pre>
</head>
<body>
 
<h1>Calling a function</h1>
 
<script language="JavaScript" type="text/javascript">
sayHello( "24th", "July" );
sayHello ( "1st", "August" );
sayHello ( "24th", "May" );
</script>
 
</body>
</html>
 
</pre>
<h1>Calling a function</h1>