JSP (Java Server Page) - DESHABILITAR INTRO!!

 
Vista:

DESHABILITAR INTRO!!

Publicado por GEmi (3 intervenciones) el 29/09/2005 17:37:49
¿como puedo deshabilitar el intro con alguna funcion?
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:DESHABILITAR INTRO!!

Publicado por aloneibar (18 intervenciones) el 30/09/2005 10:47:21
<html>
<head>
<script>
function pulsar(e) {
tecla=(document.all) ? e.keyCode : e.which;
if(tecla==13) return false;
}
</script>
</head>
<body onkeypress="return pulsar(event)">
<form>
<input type="text" />
<input type="submit" />
</form>
</body>
</html>
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar