else if (e)
keycode = e.which;
else
return true;
I suspect it may have something to do with the fact that I'm using a cfform instead of a regular form tag, but that's a wild guess.
I tossed the code below in my page, no change.
>I have only run into this once before, when I was using images to be the
>form submission buttons.
>
>I use this in that case:
>
>function onKeyPress ()
>{
> var keycode;
> if (window.event)
> keycode = window.event.keyCode;
> else if (e)
> keycode = e.which;
> else
> return true;
> if (keycode == 13)
> {
> document.yourformname.submit();
> return false
> }
> return true
>}
>document.> >
>HTH,
>
>Ray
>http://www.crystalvision.org
>
>
>
>At 10:50 AM 3/30/2004, Morgan Senkal wrote:
>>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

