hai,

why this function is not working?

Code:
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<script type="text/javascript">
function greeting(message)
{
alert(message);
}
</script>

</head>
<body>

<form>
<input type="button" value="Greet" onclick="greeting("Hai")">
</form>

</body>