<script><br> function keygo(evt,obj){<br> key = window .event?evt.keyCode:evt.which;<br> var next=obj.tabIndex ;<br> var inputs=document.getElementsByTagName("input");<br> if (key==38){//↑<br> if (next -9>=0 ) {<br> inputs[next-9].select()<br> }<br> }<br> if (key==40){//↓<br> if (next +9<81 ) {<BR> inputs[next+9].select()<BR> }<BR> }<BR> if (key==37){//←<BR> if (next -1>=0 ) {<br> inputs[next-1].select()<br> }<br> }<br> if (key==39){//→<br> if(next+1<81)inputs[next+1].select();<BR> }<BR> }<BR> </script>