html onchange event not working January 8, 2023 by Tarik onchange is only triggered when the control is blurred. Try onkeypress instead.