Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
77
rated 0 times [  78] [ 1]  / answers: 1 / hits: 28334  / 14 Years ago, sat, may 22, 2010, 12:00:00

why this doesn´t work:



inputButton.addEventListener('onchange', jsFunction, false);


I change the inputbox and it doesn´t call jsFunction.


More From » input

 Answers
27

Try change instead of onchange



inputButton.addEventListener('change', jsFunction, false);

[#96709] Wednesday, May 19, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kaleyv

Total Points: 259
Total Questions: 99
Total Answers: 107

Location: Saint Helena
Member since Tue, Nov 3, 2020
4 Years ago
;