views:

75

answers:

0

Hi, I am new with YUI development and Javascript, and have inherited a web app that uses some YUI code. It has a datatable that has a field which is editable. I need to do a check on this field once it has been edited, and do a calculation based on the new and old values.

Basically what I'm asking is how do I retain the original value that was in the field before it was edited? My apologies if this is extremely basic. Really hope someone can help me out as I seem to be going round in circles with this.

Thanks.

Bill