Re: Enter key not working to submit?

2004-04-22 Thread Don
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

Re: Enter key not working to submit?

2004-04-22 Thread Thomas Chiverton
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

Re: Enter key not working to submit?

2004-04-21 Thread Don
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

Re: Enter key not working to submit?

2004-03-30 Thread Morgan Senkal
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

Re: Enter key not working to submit?

2004-03-30 Thread Morgan Senkal
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

Re: Enter key not working to submit?

2004-03-30 Thread Ray Champagne
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

Re: Enter key not working to submit?

2004-03-30 Thread Morgan Senkal
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

RE: Enter key not working to submit?

2004-03-30 Thread Gaulin, Mark
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

Re: Enter key not working to submit?

2004-03-30 Thread Jochem van Dieten
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

Re: Enter key not working to submit?

2004-03-30 Thread Ray Champagne
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.

Enter key not working to submit?

2004-03-30 Thread Morgan Senkal
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 nothing.  Anyone ever run acr