I am looking for a function or command that would recognize the enterkey..
something like the OnClick or on MouseOver.
Basiclly.. when someone is on my page and they press the ENTER key..i need it to call a specific script that i wrote.
Any ideas?
Is there a command or function that recognizes the ENTER key
Moderators: egami, macek, gesf
-
- New php-forum User
- Posts: 164
- Joined: Tue Aug 27, 2002 8:25 pm
- Location: Ontario, Canada
- Contact:
Hmmm, well... I'm afraid your going to have to use Javascript for that. But don't have javascript is easy.
You need Javascript because it runs on the clients end, but PHP only runs on the servers end... This post explains that: http://www.php-forum.com/p/viewtopic.php?t=370
You need Javascript because it runs on the clients end, but PHP only runs on the servers end... This post explains that: http://www.php-forum.com/p/viewtopic.php?t=370
Xerpher wrote:Hmmm, well... I'm afraid your going to have to use Javascript for that. But don't have javascript is easy.
You need Javascript because it runs on the clients end, but PHP only runs on the servers end... This post explains that: http://www.php-forum.com/p/viewtopic.php?t=370
Oh DUH!!.. of course... stupid question.. thanks for waking me up!

