|
 |
asptoday_discuss thread: Re: setfocus to textbox
Message #1 by "Patrick" <patrick00@n...> on Fri, 28 Dec 2001 14:32:34 -0000
|
|
This is all you need to insert in your <body> tag with the other body
information
Cut and paste the line below and insert it into your body tag. Replace the
words "Text Box Name Here Between The Dots" with the name of the text box
you wish to go to when the page loads.
onLoad="document.forms[0].Text Box Name Here Between Dots.focus();"
No other code is needed.
----- Original Message -----
From: "Boni Gopalan" <boni@h...>
To: "ASPToday Discuss" <asptoday_discuss@p...>
Sent: Friday, December 28, 2001 2:01 PM
Subject: [asptoday_discuss] Re: setfocus to textbox
>
> > This is not a straight forward question. You can do it, and yes a lot
of
> > people do it too.
> >
> > Read the following code snippet to understand how it is done.
> >
> > <html>
> > <head>
> > <title>My Page</title>
> > <script>
> > <!--
> > function setFocus() {
> > document.my_form.input_box.focus();
> > }
> > // --></script>
> > </head>
> > <body bgcolor="#ffffff" text="#000000" onLoad="setFocus()">
> > <form action="<i>action URL</i>" name="my_form">
> > The focus will go to this text input box: <input type="text"
> > name="input_box">
> > </form>
> > </body>
> > </html>
> >
> > thank you
> > bONI
> >
> > ----- Original Message -----
> > > From: "Tan Chye Ting" <chyeting18@h...>
> > > To: "ASPToday Discuss" <asptoday_discuss@p...>
> > > Sent: Thursday, December 27, 2001 4:06 AM
> > > Subject: [asptoday_discuss] setfocus to textbox
> > >
> > >
> > > > this might sound easy for you all,but hiow to set the cursor to a
> > textbos
> > > > when i load the page...thanx..
> > > >
> > >
> >
>
>
>
Message #2 by "Bill Cohen" <billcohen@h...> on Mon, 7 Jan 2002 12:47:38 -0600
|
|
Does anyone know how to create a new field in an Access 2000 database using
ASP code? I am trying to implement a web admin tool for an Access database.
Thanks-
----- Original Message -----
From: "Patrick" <patrick00@n...>
To: "ASPToday Discuss" <asptoday_discuss@p...>
Sent: Friday, December 28, 2001 8:32 AM
Subject: [asptoday_discuss] Re: setfocus to textbox
> This is all you need to insert in your <body> tag with the other body
> information
> Cut and paste the line below and insert it into your body tag. Replace the
> words "Text Box Name Here Between The Dots" with the name of the text box
> you wish to go to when the page loads.
> onLoad="document.forms[0].Text Box Name Here Between Dots.focus();"
>
> No other code is needed.
>
> ----- Original Message -----
> From: "Boni Gopalan" <boni@h...>
> To: "ASPToday Discuss" <asptoday_discuss@p...>
> Sent: Friday, December 28, 2001 2:01 PM
> Subject: [asptoday_discuss] Re: setfocus to textbox
>
>
> >
> > > This is not a straight forward question. You can do it, and yes a
lot
> of
> > > people do it too.
> > >
> > > Read the following code snippet to understand how it is done.
> > >
> > > <html>
> > > <head>
> > > <title>My Page</title>
> > > <script>
> > > <!--
> > > function setFocus() {
> > > document.my_form.input_box.focus();
> > > }
> > > // --></script>
> > > </head>
> > > <body bgcolor="#ffffff" text="#000000" onLoad="setFocus()">
> > > <form action="<i>action URL</i>" name="my_form">
> > > The focus will go to this text input box: <input type="text"
> > > name="input_box">
> > > </form>
> > > </body>
> > > </html>
> > >
> > > thank you
> > > bONI
> > >
> > > ----- Original Message -----
> > > > From: "Tan Chye Ting" <chyeting18@h...>
> > > > To: "ASPToday Discuss" <asptoday_discuss@p...>
> > > > Sent: Thursday, December 27, 2001 4:06 AM
> > > > Subject: [asptoday_discuss] setfocus to textbox
> > > >
> > > >
> > > > > this might sound easy for you all,but hiow to set the cursor to a
> > > textbos
> > > > > when i load the page...thanx..
> > > > >
> > > >
> > >
> >
> >
> >
>
>
>
|
|
 |