I was wondering if anyone could help or point me in the right direction. I have two text boxes which both call the onChange event. In this they call a function which performs some calculations.
Fixed number 1000
Textbox one: Enter Price
Textbox two: Percentage
If I change textbox one the percentage is updated in textbox two. If I change the percentage in textbox two the price is updated in textbox one.
Because Iím using the onchange event it gets stuck in a nasty loop because Iím changing the value in a textbox which has the onchange event.
Does anyone have any ideas on how I could go about doing this?