[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.frontpage.programming

focus on textfield in form

Anthony

4/2/2004 9:08:00 AM

Hi,

i gotta question, Is it possible to "set-focus" on a textfield within a form
when the page where form resides on is opened?
Well i know its possible cause i've seen it on different sites but
i do not know how this is done.
Any help will be much appreciated.

Thanks,
Anthony


2 Answers

Greg Chagnon

4/2/2004 12:16:00 PM

0

Hi Anthony,

<body onload="theform.thefield.focus();" >

You may wish to take a look at J-Bots Form Components which includes this functionality.
http://www.websunl.../order/Product/Form/Form_he...
--
Mike -- FrontPage MVP '97-'02
http://www.websunl...
Need to manage your code snippets in FP? Take a look at CodeView!
http://www.websunl.../order/Product/CodeView/codeview.htm
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible


"Sodeju" <sodeju2000@hotmail.com> wrote in message news:c4jaga$s4$1@news1.tilbu1.nb.home.nl...
> Hi,
>
> i gotta question, Is it possible to "set-focus" on a textfield within a form
> when the page where form resides on is opened?
> Well i know its possible cause i've seen it on different sites but
> i do not know how this is done.
> Any help will be much appreciated.
>
> Thanks,
> Anthony
>
>


Anthony

4/3/2004 10:50:00 AM

0

Thnx Mike, works great.

"MD Websunlimited" <none@none.com> wrote in message
news:uI6dEwKGEHA.1720@tk2msftngp13.phx.gbl...
> Hi Anthony,
>
> <body onload="theform.thefield.focus();" >
>
> You may wish to take a look at J-Bots Form Components which includes this
functionality.
> http://www.websunl.../order/Product/Form/Form_he...
> --
> Mike -- FrontPage MVP '97-'02
> http://www.websunl...
> Need to manage your code snippets in FP? Take a look at CodeView!
> http://www.websunl.../order/Product/CodeView/codeview.htm
> FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
>
>
> "Sodeju" <sodeju2000@hotmail.com> wrote in message
news:c4jaga$s4$1@news1.tilbu1.nb.home.nl...
> > Hi,
> >
> > i gotta question, Is it possible to "set-focus" on a textfield within a
form
> > when the page where form resides on is opened?
> > Well i know its possible cause i've seen it on different sites but
> > i do not know how this is done.
> > Any help will be much appreciated.
> >
> > Thanks,
> > Anthony
> >
> >
>
>