Before I go mad with frustration, can anybody please tell me why the function in the following script does not work?
<html>
<head>
<title>Function Calling</title>
<script language="javascript" type="text/javascript">
function saySomething(message) {
alert(message)
}
</script>
</head>
<body>
<h2>Animal Sounds</h2>
<hr/>
<form action ="#">
<input type="button" value="Cow" onclick="saySomething('moo')" />
<input type="button" value="Sheep" onclick="saySomething('Baa')" />
<input type="button" value="Dog" onclick="saySomething('Woof')" />
<input type="button" value="Duck" onclick="saySomething('Quack')" />
<input type="button" value="Cat" onclick="saySomething('meow')" />
</form>
</body>
</html>


