Click here to get back home

Automatic cursor position

 HomeNewsGroups | Search

alt.www.webmaster - All aspects of webmastering business 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Automatic cursor position T.J. 03-19-2009
Posted by T.J. on March 19, 2009, 5:47 am
Please log in for more thread options
I have a page with an input form
Is there a way of having the cursor
automatically positioned in the imput box
when the page is opened?


Posted by rf on March 19, 2009, 5:57 am
Please log in for more thread options
T.J. wrote:
show/hide quoted text

Yes. Ever noticed that this is what happens with google? Why don't you go
over to their site and have a look at how they do it?



Posted by T.J. on March 19, 2009, 9:17 am
Please log in for more thread options

show/hide quoted text

Thanks, so it is basically adapt
show/hide quoted text
to suit my form?



Posted by freemont on March 19, 2009, 4:10 pm
Please log in for more thread options
On Thu, 19 Mar 2009 13:17:02 +0000, T.J. writ:

show/hide quoted text

Yes.

show/hide quoted text
<input type="text" name="name" id="name" value="" size="30"
show/hide quoted text

Tells the browser to look in the "document" for the element named "form"
for the element named "name" and set focus() in it.

--
"Because all you of Earth are idiots!"
show/hide quoted text

Posted by T.J. on March 20, 2009, 3:53 am
Please log in for more thread options

show/hide quoted text


Thanks, all is working fine now.


Similar ThreadsPosted
text position problem March 31, 2006, 6:49 am
Permanent Web Developer Position Available May 4, 2006, 11:40 am
how to position layout? CSS2 or table? October 16, 2005, 5:52 am
Answering position:absolute query once and for all January 17, 2006, 7:21 pm
Google indexed site in the last position? July 6, 2006, 3:21 pm
position div top right regardless of vertical length of page? February 28, 2007, 8:07 am
overflow:hidden; and position: absolute; in Opera February 2, 2006, 6:33 am
Position horizontal menu items in header November 9, 2006, 11:42 am
ANYONE ??? --> Position horizontal menu items in header? November 16, 2006, 10:10 am
Need cursed cursor ASP host. April 25, 2005, 4:12 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy