Function with One Argument
<script language="javascript">
function function(value)
{
alert(value); //alert the arugument
}
</script>
<body>
<form>
<input type="button" onclick="function('Hello');" value="Call">
</form>
</body>
</html>
[]/code