You are here: Re: How to submit a form when user presses Enter key « PHP Programming Language « IT news, forums, messages
Re: How to submit a form when user presses Enter key

Posted by Logos on 10/22/98 12:00

On Jan 15, 12:04 pm, Daniel Klein <dani...@featherbrain.net> wrote:
> I'm pretty new at php and web stuff so please be gentle with me.
>
> I'm trying to get a form to submit when the user presses the Enter
> key. I do not want to use javascript. I've googled this to death and
> cant find the answer (only hints), except on the 'Experts Exhange'
> page and you have to pay to get the answer :-(
>
> Why is this such a secret in the open source world we live in?
>
> Daniel Klein

If I remember correctly, enter as a submit button trigger only works
if the form has only 1 element besides a submit button (ie, a single
text field) or javascript using a keylistener.

As for Experts Exchange, it's pretty much an open secret that if you
use google and get an EE result, all you need do is click the cached
link and the answers will be visible :)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация