Quote Originally Posted by khh View Post
Maybe the 3 you give it is a string or a character. Try to add
Code:
id = parseInt(id);
before the switch statement.
Thanks a lot! That did the trick