You are here: Re: How to get a keypress? « PHP Programming Language « IT news, forums, messages
Re: How to get a keypress?

Posted by Jim Carlock on 09/14/07 23:47

Lars Eighner asked...
> How can I get keypresses?

"Norman Peelman" replied...
: If you're on Windows, you can't.

HTML provides a way to get a keypress. Usually this can be
done with javascript or HTML inside the <head> section or
HTML inside the body. I've not messed with it, but have seen
it in other folks code.

If he just wants a way to provide client-side control, it's
called accesskey in HTML-speak.

http://www.w3.org/TR/html4/interact/forms.html#h-17.11.2

That combined with some javascript to do an automatic POST,
probably can get the OP where he wants to go.

--
Jim Carlock
Swimming Pool, Spa And Water Feature Builders
http://www.aquaticcreationsnc.com/

 

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

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