<div class="codetitle"> <span><a style="CURSOR: pointer" data="85665" class="copybut" id="copybut85665" onclick="doCopy('code85665')"><u>Copier le code</u></a></span> Le code est le suivant :</div> <div class="codebody" id="code85665"> <br><script type="text/javascript"> <br> document.onkeydown=function(e){ <br>var isie = (document.all) ? <br>var key; <br>var ev; Navigateur IE <br>key = window.event.keyCode; <br>ev = window.event; <br>}else{//Firefox <br>key = e.which; } <br>alert(key); <br>if(key==9){//navigateur IE <br>if(isie){ <br>ev.keyCode=0 <br>ev.returnValue=false ; <br>}else{//Firefox <br>ev.which=0; <br>ev.preventDefault(); <br>} <br>} <br><br>< ;/script> ; <br><br> </div>