Form field calculation onBlur

In my ActiveForm, once a certain number field is entered, I would like it to calculate (for example tax) on the next field.

Any pointers, examples pls ? :)

Hi, you can try this event in JQuery:

http://api.jquery.com/keypress/

Thx - i’m aware of the jquery plugin to do it, but I don’t know how to integrate it into Yii2 - I don’t know how to use the jquery functions within Yii2 framework