here is what I want to do. I want user to enter the start time and end time, once both fields are entered, the total work hours field will be calculated and showed automatically.
below is my simple html code:
CODE
<table border="1" cellspacing="0" cellpadding="2">
<tr><td>Start Time</td><td>End Time</td><td>Hours</td></tr>
<tr>
<td><input type="text" name="startTime" /></td>
<td><input type="text" name="endTime" /></td>
<td><input name="text" disabled="disabled"/></td>
</tr>
</table>
I'm really new to Javascript. Any help is greatly appreciated!