Completely new to javascript and in a jam. I need to know how to do this if anyone is willing to assist :-)

On my form:
When duration is entered in text box B (days), add duration to textbox A...