Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 04-10-2006, 08:45 PM   #1 (permalink)
Greg's Avatar
 
Indeed.

Join Date: Dec 2004

Posts: 1,554

Greg is on a distinguished road

Default Google search form

I noticed that when you go to http://www.google.com it would make it so you could just start typing and it would type into the search form, but if you have a Google search form on a website it does not do this. Is there any peice of code I could use to have it do this for me?
Thanks
__________________
Greg is offline  
Old 04-11-2006, 09:15 AM   #2 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default

Code:
<body OnLoad="document.formname.textboxname.focus();">
replace formname and textboxname
office politics is offline  
Old 04-11-2006, 08:31 PM   #3 (permalink)
Greg's Avatar
 
Indeed.

Join Date: Dec 2004

Posts: 1,554

Greg is on a distinguished road

Default

Wow, thanks, that works great
__________________
Greg is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On