Two paragraphs of code for selecting using the up and down keys of the keyboard:
First paragraph
]
Second paragraph
If you need to introduce external Js, you need to refresh to execute
]<script>
var i=0;
function document.onkeydown(){
if (event.keyCode == 38){
for(var k=0;k<document.getElementById('tb').rows.length;k++){
document.getElementById('tb').rows(k).bgColor="";
}
document.getElementById('tb').rows(--i%tb.rows.length).bgColor="#FF0000";
document.all.show.value=document.getElementById('tb').rows(i%tb.rows.length).innerText;
}
if (event.keyCode== 40){
for(var k=0;k<document.getElementById('tb').rows.length;k++){
document.getElementById('tb').rows(k).bgColor="";
}
document.getElementById('tb').rows(++i%document.getElementById('tb').rows.length).bgColor="#FF0000";
document.all.show.value=document.getElementById('tb').rows(i%tb.rows.length).innerText;
}
}
</script>