PHP is a server side language. You need to do this with a client side
language like JavaScript.
David wrote:[color=blue]
> How can I (in PHP) have my first edit box focused and ready for[/color]
keyboard[color=blue]
> input when the page loads
> (yes, I am new to php :-D )[/color]
David wrote:
[color=blue]
> How can I (in PHP) have my first edit box focused and ready for keyboard
> input when the page loads
> (yes, I am new to php :-D )[/color]
Nothing to do with PHP ...
It's typically done via client-side script, as follows:
Somewhere in the <head> add:
<script
<!--
function focus_on_start( )
{
document.NAMED_ FORM.NAMED_TEXT BOX.focus();
}
"Mark" <mw@ANGRYLanfea r.com> wrote in message
news:POSdnbTjJN H8xivcRVn-oA@nventure.com ...[color=blue]
> David wrote:
>[color=green]
> > How can I (in PHP) have my first edit box focused and ready for keyboard
> > input when the page loads
> > (yes, I am new to php :-D )[/color]
>
> Nothing to do with PHP ...
>
> It's typically done via client-side script, as follows:
>[/color]
Comment