The only way I could trap Enter was to use .hta instead of .html (which will
pop up a security warning dialogue box).

Here's my example:
http://www.timeless.co.zw/tgos/current/

- Peter H.

-----Original Message-----
From: Giles Roadnight [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 12:49
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] OT: Javascript catching enter key press


Hi

I have searched for a solution to this but all of htem seem only to deal
with key presses for the entire document.

I want to run a function when the enter key is pressed when typing in a text
box.
I know I need to use onKeyPress() but then how do I send the key that has
been pressed to the function?

Thanks

Giles


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to