This code is not triggered immediately:

```
$('form').on('change', '#price', function(){
   // code here
});

```

but only when I click from the input box somewhere else.

How to trigger the code even when the user is typing?

Now, it is waiting till he click away from the input box.