ok, how would I go about adding values from a multiple text fields, and the same text field multiple times? like text field1 has value of 5 first time, then it submits without any refresh, then it will contain 10 next. then text field 2 has 5, so then the total is 20. Then when that total is reached, a div will refresh. I am new to javascript, please help.