Hi everyone,

I wonder if somebody would be kind enough to assist. I want to put up a simple javascript calculator where a user will enter two items, hit calculate and get a total in the third text box but my knowledge of javascript is severely limited.

My simplified form (I left out calculate button):
<input type="text"name="item1">
<input type="text"name="item2">
<input type="text"name="total" readonly>

Whatever the user enters in text box item 1 must be multiplied by 0.5 = result 1
Whatever the user enters in text box item 2 must be multiplied by 5 = result 2
Text box total = result1 + result 2

Any help will be greatly acknowledged

Regards

Anwar