# Zk onChanging last value

asked 2017-05-15 15:19:51 +0800

javiut
84 1 5

I have a decimalbox with onChanging method on it. I need to listen to the values of it

<decimalbox value='@{bean.value}'>


Example imagine that decimalbox has a initial value of 0.

Later is changed to 2 last value is 0.

Later is changed to 3 last value is 2.

Later is changed to 4 last value is 3.

Of course both the decimalbox and the bean has a value of 0 while i am doing onChanging but i need the last values how can i do this?? i mean i want the last(s) values.

In the previous Example.

The initial value is also 0.

Later is changed to 2 last value is 0.{i need the 0 value this is easy}

Later is changed to 3 last value is 2.{i need the 2 value Please help}

Later is changed to 4 last value is 3.{i need the 3 value Please help}

And so on..

Any workaround??