Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Focusing on drop down field

Status
Not open for further replies.

DoctorGonzo

Programmer
Jan 23, 2004
48
0
0
GB
Hi Guys,

I know I can use fieldname.focus() to put the cursor in a text field, but do you know ho w I can do the same witrh drop down boxes and radio buttons?

Gonzo
 
.focus() works for dropdowns and radio buttons as well to set focus to those objects. However, if you want to "put the cursor" in a select box or radio button, it's just not possible.

-kaht

How much you wanna make a bet I can throw a football over them mountains?
sheepico.jpg
 
at least, not without creating some crazy little custom form object. and that would just be insane in the membrane.

*cLFlaVA
----------------------------
[tt]I already made like infinity of those at scout camp...[/tt]
beware of active imagination: [URL unfurl="true"]http://www.coryarthus.com/[/url]

[banghead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top