Calculate Form Field Values with Ajax

Hello everybody, I need some help hope can find it here.
I have 3 text boxes:
1. value
2. exchange_range
3. value/exchange_rate

Well I want the 3rd text box to be calculated based on the first 2,
with AJAX or maybe Javascript??? Also should be on change not with a
submit button.
Any help will be greatly appreciated.
Thanks.