supposing I have 3 text boxes in an html doc, Textbox A, B, and C. I want to create a little calculator that will do the following

c=a*b
a=b/c

Is their a way to test to determine which text box was last changed, so I can apply the correct formula to solve the problem.