Hi,

Just give the input box focus

eg.

for this form

<form name="myform">
 <input type="text" name="q" />
</form>

you can use something like

window.onload=function(){
 document.myform.q.focus();
};


Cheers!
Vision Jinx

On Feb 7, 12:33 am, Dan <[email protected]> wrote:
> Does anyone know how to make the cursor automatically appear in the
> search box on page load? (like the google.com site)
> This would save the step of clicking on the search box.
> Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to