[jQuery] Detect Enter event with Jquery on Linux

[jQuery] Detect Enter event with Jquery on Linux


Hi there,
I am using jquery to make a Comet chat client. But I have problems to
detect "press enter" event on Linux. It's really strange. The same
code runs well on windows:
j.input.bind("keydown", function(l) {
if (l.keyCode == 13) {
//doing some stuff here, like sending the
message
Any suggestions?