Re: (OT?) form question
| From: | memoimyself at yahoo dot com dot br | Date: | Wed, 07 Jan 2004 22:14:12 +0000 |
| Subject: | Re: (OT?) form question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174012@lists.php.net to get a copy of this message | ||
Hello Craig,
On 7 Jan 2004 at 9:50, craig wrote:
> This may be more of an HTML question - can't find anything
> in the php manual, but I may not know where to look.
>
> Is it possible to put the cursor into a form element
> when a page loads without using javascript?
PHP does everything it has to do (and can do) on the server, which means it has no
control whatsoever over your, or any other user's, browser. It cannot place cursors
anywhere. PHP can send to the browser JavaScript code capable of doing what you
want, but it's the JavaScript code that would be performing cursor tricks in the browser,
not PHP.
Take care,
Erik