Two fields input1
and input2
gives a total sum to input3
on click and it needs to be copied to the next input4
field, but it doesn't.
Although if you enter the value to input3
manually then it gets copied? (it actually doesn't get copied live until you click e.g. tab or click anywhere with the mouse, also don't know how to resolve)
Full code https://jsfiddle.net/tn6wr4xc/1/
So basically when you click the first Sum
button it should copy the value to the input4
, but it doesn't, only when entered manually.
Sorry for ghetto code, I know it's vanilla and jQuery, real beginner here.