![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi All: I would like to know how to set the focus on a radio button (if it is possible) I tried button[0].focus() but with no luck |
#3
| |||
| |||
|
|
In article <nyEcb.120617$DZ.21199 (AT) news04 (DOT) bloor.is.net.cable.rogers.com>, tgmurray (AT) rogers (DOT) com enlightened us with... Hi All: I would like to know how to set the focus on a radio button (if it is possible) I tried button[0].focus() but with no luck document.formname.elements["radioname"][index].focus(); Radios are an array because they all have the same name. The index goes from 0-(length -1). ------------------------------------------------- ~kaeli~ All I ask for is the chance to prove that money cannot make me happy. http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace ------------------------------------------------- |
#4
| |||
| |||
|
|
Thanks kaeli it seemed to work. Although the focus was only brought close to the button. Actually the button did not really receive the focus. Instead what happened was that the form was scrolled to an area that contained the radio button. |
![]() |
| Thread Tools | |
| Display Modes | |
| |