Actually you are right I missed that, the event is actually onKeyDown or onKeyUp I believe..
On 6/12/07, Dinner <[EMAIL PROTECTED]> wrote: > > I don't know if there is an "onenter" input attribute... that might be a > problem. > > In your case tho, I think you could just do this, and fake the enter > key listener (since it's in a form, enter is bound by default to submit). > I think. > > <form onsubmit="entermessage();return false;"> > > Which I hope would fire every time enter is pressed, but don't know > for sure. > > Otherwise you'd have to listen for a keypress, I guess, and see if > the key pressed was the enter key. I've got some examples of that > lying around if you need it. The interweb has 'em too. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280740 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4