|
Is it possible to not have any submit action on the form and use
_javascript_ attached to the button instead? I'm guessing that would
avoid the form capturing the return press. Jeremy Coulter wrote: Yes I see where you are going with that one. It actually rings a bell. Ihad this problem one before, and damned if I can remember why/where....as usual :-(Jeremy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Neven MacEwan Sent: 7 December 2006 12:58 To: NZ Borland Developers Group - Offtopic List Subject: Re: [DUG-Offtopic] HTML TextArea issue J Yes but when you press enter it submits the form, what you could do is capture the keypress (keyup, keydown?) on the Textarea and handle it yourself in _javascript_, this may be able to be fudged so ie doesn't auto submit I just tested something like it in firefox and if you are on a text input it submits on enter, it seems the textarea is handled differently between ff and ie Neven Jeremy Coulter wrote:P.s. forgot to say, I surley if I am typing in a textarea its safe to assume its GOT the focus?? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Neven MacEwan Sent: 7 December 2006 10:40 To: NZ Borland Developers Group - Offtopic List Subject: Re: [DUG-Offtopic] HTML TextArea issue J Which Agent/Browser? If you have a button its prob focused by default and enter will submit the page, try focusig the TextArea (in _javascript_) N Jeremy Coulter wrote:Yeah forgot to mention, Shit enter didn’t work either. IO created a totally new page, just a form and a textarea, and it works.....agh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Neven MacEwan Sent: 7 December 2006 10:06 To: NZ Borland Developers Group - Offtopic List Subject: Re: [DUG-Offtopic] HTML TextArea issue J Just to point out the obvious but it is the agent not HTML that specifies this behaviour, so which agent are you using, have you tried |
begin:vcard fn:Phil Middlemiss n:Middlemiss;Phil org:Vision Software, MTS Ltd email;internet:[EMAIL PROTECTED] title:Project Leader tel;work:+64 7 3480001 tel;cell:+64 27 4592648 x-mozilla-html:TRUE url:http://www.tumonz.co.nz version:2.1 end:vcard
_______________________________________________ Offtopic mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/offtopic
