javascript_howto thread: document object, compatibility[IE,NN],radio button grp
Message #1 by "George Tatar" <gathome@s...> on Sat, 15 Dec 2001 21:46:52
|
|
what is the best way to set focus and select a radio button from groups of
radio buttons on a form, that both netscape and IE will recognize,
The following works in Netscape but not Explorer,
document.forms[1].elements[rbname][rbindex].focus();
document.forms[1].elements[rbname][rbindex].select();
rbname is the name of the radio button group
rbindex is the index number i want to select of the group
any suggestions would be appreciated
Thank you
|