You could also use keyUp event, this event detects the value entered aswell as the backspace or delete clicked.
Check this fiddle
Fiddle[
^]
I posted this answer just as I worked on this and found my option to be different. The answer Sir King has given is absolutely correct and great. I post this with no selfishness, this is just a share.
I hope you understand and look.
Thanks.