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.



<script language="JavaScript">

function calc()
	document.DetTime.time=(document.DetTime.level * document.DetTime.flow);



<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>


Am I close or way off?