hello, i have 5 fields in a html form
a = item price ex vat
b = item price inc vat
c = volume ordered
d = Total Ex Vat
e = Total Inc Vat
can anyone help me out with the javascript to do the following;
Either A or B will be supplied by the user. If the user supplies the price ex VAT (@20%) in a then i need B to automatically add the vat on. If the user supplies the price inc VAT then i need field A to update to correspond with the B-vat.
The tricky part is i also need field D and E to update when the user provides C
So it would be A X C = D
and
B X C = E
can anyone who is great at javascript provide me with this/ guide me?
I know html php etc but java is my weak link!