<script>
function init(form)
{
for(var m=0;m<myform.elements.length;m++){
var ob=myform.elements[m];
if(ob.type=="radio"){
ob.onfocus=new Function("nextfocus(this)");
}
}
}function nextfocus(obj)
{
document.all(obj.sourceIndex+1).focus();
}
</script>
<body onload=init()>
<form name=myform>
<input type=checkbox id=mycheck>
<input type=radio name=myradio checked value=1>text
<input type=radio name=myradio value=2>checkbox
<input type=radio name=myradio value=3>select
<input type=text id=mytext>
<select id=mysel>
<option>1
<option>2
</select>
</form>
function init(form)
{
for(var m=0;m<myform.elements.length;m++){
var ob=myform.elements[m];
if(ob.type=="radio"){
ob.onfocus=new Function("nextfocus(this)");
}
}
}function nextfocus(obj)
{
document.all(obj.sourceIndex+1).focus();
}
</script>
<body onload=init()>
<form name=myform>
<input type=checkbox id=mycheck>
<input type=radio name=myradio checked value=1>text
<input type=radio name=myradio value=2>checkbox
<input type=radio name=myradio value=3>select
<input type=text id=mytext>
<select id=mysel>
<option>1
<option>2
</select>
</form>
{
e = event.srcElement;
if(e.type=="RADIO")
{
e.focus();
}
}
function init(form)
{
for(var m=0;m<myform.elements.length;m++){
var ob=myform.elements[m];
ob.onkeydown=new Function("checkkey(this)");
if(ob.type=="radio"){
ob.onfocus=new Function("nextfocus(this)");
}
}
}function checkkey(obj)
{
if(event.keyCode==13)
nextfocus(obj);
}function nextfocus(obj)
{
document.all(obj.sourceIndex+1).focus();
}
</script>
<body onload=init()>
<form name=myform>
<input type=text id=mytext>
<input type=text id=mytext2>
<input type=checkbox id=mycheck>
<input type=radio name=myradio checked value=1>text
<input type=radio name=myradio value=2>checkbox
<input type=radio name=myradio value=3>select
<input type=text id=mytext3>
<select id=mysel>
<option>1
<option>2
</select>
</form>