83
rated 0 times
[
88]
[
5]
/ answers: 1 / hits: 51863
/ 7 Years ago, thu, february 23, 2017, 12:00:00
What is the event when an <input>
element's value is changed via JavaScript code? For example:
$input.value = 12;
The input
event is not helping here because it's not the user who is changing the value.
When testing on Chrome, the change
event isn't fired. Maybe because the element didn't lose focus (it didn't gain focus, so it can't lose it)?
More From » events