<input><input><input><input> <script> function document.onkeydown() { with(window.event){ switch(keyCode){ case 39:keyCode=9;break; case 37:prevObj(srcElement); } } } function prevObj(obj){ var i=obj.sourceIndex; while(document.activeElement==obj&&obj.tagName!="BODY")document.all(--i).focus(); } </script>
<script>
function document.onkeydown()
{
with(window.event){
switch(keyCode){
case 39:keyCode=9;break;
case 37:prevObj(srcElement);
}
}
}
function prevObj(obj){
var i=obj.sourceIndex;
while(document.activeElement==obj&&obj.tagName!="BODY")document.all(--i).focus();
}
</script>