on input element change code example
Example: on change event html not working
onchange is only triggered when the control is blurred. Try onkeypress instead.
onchange is only triggered when the control is blurred. Try onkeypress instead.