Has anyone had any luck getting the cursor to default in the google search box? It is against TOS to change the code from google so I am having trouble figuring out how to do this. Any ideas?
If you are talking about a google search like in this site here: http://www.usfca.edu/osp/google_search.htm (Randomly found) Then what your looking for is easy enough to do- without changing their code: <script language="javascript"> var googleSearchBar = document.getElementsByName("q"); googleSearchBar[0].focus(); </script> Code (markup): Place that under their code and it will automatically set the focus to their text field. (Note: If you by some obscurely random chance have an element named "q" as well then you will need to edit the code to target the correct element.)