help... Which of the following sets up an event handler to fire when the user changes the value of a text area or input field | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

help... Which of the following sets up an event handler to fire when the user changes the value of a text area or input field

$(selector). on('change', function() {...}); $(selector). on('keydown', function() {...}); $(selector). on('input', function() {...}); $(selector). on('propertychange', function() {...});

20th Apr 2021, 12:27 PM
Blhack Jedi
Blhack Jedi - avatar
1 Answer
+ 1
"input" event seems to be a sensible option.
20th Apr 2021, 1:41 PM
Ipang