|
-
Dec 12th, 2000, 07:23 PM
#1
Thread Starter
Member
how do you set focus on load to a certain form input object when the page loads?
-
Dec 13th, 2000, 03:49 AM
#2
Fanatic Member
Hi glitch13
use the following code to set the focus
<BODY onload="document.formname.inputname.focus();">
hope this helps
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Dec 21st, 2000, 07:29 PM
#3
Thread Starter
Member
thanks, it worked. just out of curiosity, was that html or java?
-
Dec 21st, 2000, 07:35 PM
#4
Fanatic Member
Hi glitch13
That was javascript
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|