Js events: input, change, blur & auto-fill
See the sample script at https://jsfiddle.net/chanlvh/q1n1yxk7/
Input happens every time we press a key. Change happens whenever content finished change. Blur happens when input lose its focus. On chrome’s auto-fill, only change event is fired, not Blur.