Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
by imroue » Tue Oct 15, 2002 5:45 pm
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?
-

imroue
- New php-forum User

-
- Posts: 62
- Joined: Fri Oct 11, 2002 6:53 am
by Xerpher » Tue Oct 15, 2002 5:56 pm
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
-
Xerpher
- New php-forum User

-
- Posts: 164
- Joined: Tue Aug 27, 2002 8:25 pm
- Location: Ontario, Canada
-
by imroue » Tue Oct 15, 2002 5:59 pm
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!

-

imroue
- New php-forum User

-
- Posts: 62
- Joined: Fri Oct 11, 2002 6:53 am
Return to PHP coding => General
Who is online
Users browsing this forum: No registered users and 2 guests