aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes onKeyUp event not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "onKeyUp event not working " Watch "onKeyUp event not working " New topic
Author

onKeyUp event not working

Gihan Pandigamage
Ranch Hand

Joined: Aug 23, 2009
Posts: 60
Dear Friends,
In the following code the removeUnsupportedChar() javascript funtion not calling when onKeyUp event fires. Why is that?



Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30512
    
150

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.



[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Gihan Pandigamage
Ranch Hand

Joined: Aug 23, 2009
Posts: 60
I'll check my other JS codes. Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: onKeyUp event not working