Open main menu
Changes
Understanding JavaScript Functions
48 bytes added
,
18:47, 24 April 2007
→
Passing Arguments to a Function
<script language="JavaScript" type="text/javascript">
function sayHello(
day, month
)
{
alert("Hello!
Today is the
"
+ day + " of " + month
);
}
</script>
← Older edit
Newer edit →
Neil
Bureaucrat
,
administrator
34,333
edits