Detecting Enter key being pressed

javascript , html , css Portsmouth, United Kingdom
  • 12 years ago
    I have the following function which detects if the enter key has been pressed and then executes some other code. It works in every browser except Safari on Mac Any suggestions?

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“C++ : Where friends have access to your private members.” - Gavin Russell Baker