on change updating after click not on typing 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.