
08/06/2007, 04:00
|
 | Moderador extraterrestre | | Fecha de Ingreso: diciembre-2001 Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 2 meses Puntos: 61 | |
Re: Evitar que se copie texto en input?? Es un poco chapucero... pero creo que esto funciona. Código PHP: <html><script>pepe=1;</script>
<head>
<title>Untitled</title>
</head>
<body>
<input type="text" onkeyup="pepe+=1" onblur="if(pepe<this.value.length){this.value=''}">
</body>
</html>
Un saludo!
__________________ Cómo escribir
No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia. |