| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 
 | <html> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 
<title>AutoTab Page</title> 
<script language="JavaScript" type="text/JavaScript"> 
var run=0
var temp=""
function TouchUp(evt,obj,go){
			if(evt.keyCode==9 || evt.keyCode==16){return false;}
			temp=obj.value;obj.title=temp;Autotab(go, obj.size, obj.value);
			}
 
function Autotab(box, longueur, texte) {
run=1;
    if (texte.length > longueur-1) { 
        document.getElementById(box).focus(); 
    } 
    run=0;
     }
 
</script> 
</head> 
<body > 
<input type="text" size="2" maxLength="2" id="TB1" 	onkeyup="TouchUp(event,this,'TB2')" onfocus="temp=this.value; this.value='';this.title=temp;" onblur="this.value=temp;temp='';this.title=temp;"  /> 
 
<input type="text" size="2" maxLength="2"  id="TB2"  onkeyup="TouchUp(event,this,'TB3')" onfocus="temp=this.value; this.value='';this.title=temp;" onblur="this.value=temp;temp='';this.title=temp;"/> 
 
<input type="text" size="4" maxLength="4"  id="TB3" id='test' title="coucou" /> 
<br/>
 
</body> 
</html> | 
Partager