I'm trying to multiply two values from a form and display the result.
This seems like it'd be easy, but I can't seem to get it to work.
Code:
<html>

<head>

<title></title>

<script language="JavaScript">
<!--

function calc()
{
	document.DetTime.time=(document.DetTime.level * document.DetTime.flow);
}
-->
</script>

</head>

<body>

<form name="DetTime">
  <input name="level" type="text" size="5"><p>Level</p>
  <input name="flow" type="text" size="5" onkeyup="calc()"><p>Flow</p>
  <input name="time" type="text" size="5"><p>Time</p>
  
</form>

</body>

</html>
Am I close or way off?