Thank you 007julien.
I have tried. It displays an alert.
But I don't know how to link that to my function. And couldn't I keep the (str)?
Because after what I have written above I try to find out...
I am having a problem on firefox.
I have an event (onkeyPress) on a textarea, which should trigger a function when the key pressed is Intro.
I would have the following on HTML: