Thanks for the update. So, versions would be taken into consideration as well for ua detection.
>On Thursday 22 Apr 2004 03:04 am, Chunshen Li wrote:
>> js keycode etc. is fine it works while with Netscape (my version 6.2.1) it
>> won't.
>
>However there is good key capture behaviour in recent
On Thursday 22 Apr 2004 03:04 am, Chunshen Li wrote:
> js keycode etc. is fine it works while with Netscape (my version 6.2.1) it
> won't.
However there is good key capture behaviour in recent Mozilla's, and of course
the usual gaggle of cross-platform libraries to make adding events easy
acro
Your point is excellent. If I may I would add some detail here, with IE6.0 js keycode etc. is fine it works while with Netscape (my version 6.2.1) it won't. But it's easy for developer to determine a browser as to decide what to do.
>
> That is up to the user agent. Some do, some don't.
>
> Jo
Dieten [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, March 30, 2004 2:03 PM
>To: CF-Talk
>Subject: Re: Enter key not working to submit?
>
>
>Morgan Senkal wrote:
>
>> I've always assumed that on a form page with a submit button, hitting the
>enter key will automaticall
Yes I changed the form name. :-)
You can take a look at the page at this URL:
http://www.transmission.bpa.gov/HOFTest.cfm
Threw that out there just for testing purposes, since this is an internal only application...
>I got this from a another person, I didn't write it, but I can take a look
>a
I got this from a another person, I didn't write it, but I can take a look
at it and get back to you as to what that does. However, you wrote that
you 'dropped the code into the page - no change'. Did you change the name
of the form from 'yourformname' to the actual form name in your app?
CFF
Ray, could I get a bit of description on what exactly the js below does? specifically this bit:
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 re
ieten [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 2:03 PM
To: CF-Talk
Subject: Re: Enter key not working to submit?
Morgan Senkal wrote:
> I've always assumed that on a form page with a submit button, hitting the
enter key will automatically submit the form. However, now I have
Morgan Senkal wrote:
> I've always assumed that on a form page with a submit button, hitting the enter key will automatically submit the form. However, now I have run across a situation where it does not work; I have to manually click the submit button to submit the form, hitting enter does nothi
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.
10 matches
Mail list logo