![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
08/02/2007, 01:58
|
![Avatar de sirguy](http://static.forosdelweb.com/customavatars/avatar152683_2.gif) | | | Fecha de Ingreso: septiembre-2006 Ubicación: Mallorca
Mensajes: 959
Antigüedad: 18 años, 4 meses Puntos: 12 | |
Re: Deshabilitar la tecla TAB Existen scripts tipo este:
<script language="javascript">
function tecla()
{
var Navegador = (window.Event) ? 1 : 0
var codigo = Navegador ? evento.which : event.keyCode
alert(codigo);
if (codigo == 9)
{
alert('Tecla deshabilitada');
}
}
document.onkeydown=tecla;
</script>
Este javscript deshabilia la teclas y de paso te da el número de tela a deshabilitar. Para usar quita los alerts |