change event for input 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.