Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

onKeyUp event not working

 
Gihan Pandigamage
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends,
In the following code the removeUnsupportedChar() javascript funtion not calling when onKeyUp event fires. Why is that?



 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34974
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It works on my machine (Safari on Mac) More specifically, I get the "hello' alert continually. Which looks like it is because onBlur is called too. Maybe textCounter() does something that prevents the code from continuing. I recommend checking your JavaScript console for errors.

 
Gihan Pandigamage
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll check my other JS codes. Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic