Ver Mensaje Individual
  #18 (permalink)  
Antiguo 27/01/2012, 00:09
Avatar de madhatterdef
madhatterdef
 
Fecha de Ingreso: diciembre-2011
Ubicación: argentina
Mensajes: 213
Antigüedad: 12 años, 5 meses
Puntos: 59
Respuesta: Problemas para el boton de envio

mira esto creo que es definitivo si te sirve lo adapto (por ahora funciona con la opción 1)
<html>
<head>
<script type="text/javascript">
function popupenter(e) {
tecla = (document.all) ? e.keyCode : e.which;
a = document.getElementById("nombre").value;
if(a=="30000000" | a=="3000000" | a=="300000"| a=="30000"| a=="3000" && tecla==13 ){
window.open('1.html','','width=200,height=200 ');
}
}
</script>
</head>
<body>
<input type="text" id="nombre" onkeypress="popupenter(event)" />
</body>
</html>
__________________
PD gracias por el karma