how do I???
- Started
- Last post
- 5 Responses
- kentaro
ok on yahoo the cursor does not go automatically to the search box...
on google it automatically is blinking in the search box so I dont have to click on it....
1) how do I send it to a specific field or the first field on the page?
2) why would you or wouldn't you make the cursor automatically go there?
3) are there any negatives?
- unknown0
google does it like this
(this is in head):function sf()
{
document.f.q.focus();
}then in the body tab:
and the form and text field declaration looks like this:
...
...
- unknown0
aw crap i forgot to format my html code exaples
- kentaro0
and then...... waiting for the other part.....lol
- unknown0
try it again here: hope not blank
define the javascript function in head
function sf(){
document.f.q.focus();
}in body
make the form, call it f
make the input field, call it q
- unknown0
just look at this:
http://hotwired.lycos.com/webmon…