Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Otros entornos y lenguajes > PHP
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

 
 
Herramientas Buscar en Tema Desplegado
  #7  
Antiguo 17-09-2004
[kayetano] kayetano is offline
Miembro Premium
 
Registrado: may 2003
Ubicación: Elche
Posts: 644
Poder: 24
kayetano Va por buen camino
Hola

Algo asin:
Código PHP:
<html>
<
head>
<
SCRIPT language=JavaScript>
var 
which "";

function 
getKey(keyStroke) {
    var 
isNetscape=(document.layers);
    var 
eventChooser = (isNetscape) ? keyStroke.which event.keyCode;
    
which which String.fromCharCode(eventChooser);
}

function 
enviarcual ){
    
cual.dato.value which;
    
cual.submit();
}

document.onkeypress getKey;
</SCRIPT>
</head>

<body>
<form action="seguridad.php" name="form_prueba" method="post">
<input type="hidden" name="dato">
<input type="button" onClick="enviar(this.form)" value="Enviar">
</form> 
</body>
</html> 
En explorer y opera funciona bien, en firefox y netscape no.
__________________
Salu2
KAYETANO

Cómo hacer preguntas de manera inteligente
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 19:43:16.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi