Ver Mensaje Individual
  #9 (permalink)  
Antiguo 06/01/2007, 16:54
Avatar de caricatos
caricatos
Moderador
 
Fecha de Ingreso: abril-2002
Ubicación: Torremolinos (Málaga)
Mensajes: 19.607
Antigüedad: 22 años, 11 meses
Puntos: 1284
Re: ONBLUR para hacer un LINK

Bueno, no tardé mucho...

Código:
<html>
	<head>
		<title>
			chequear nick
		</title>
		<script type="text/javascript">
			function e(que) {
				return document.getElementById(que);
			}
		</script>
	</head>
	<body >
		<form action="temporal.php" method="post" target="_blank" enctype="multipart/form-data" >
			<input type="text" name="nick" onblur="e('apodo').href = 'temporal.php?nick=' + this.value" />
			<a id="apodo" href="comprobar.php" target="popup" onclick="window.open('', 'popup', 'width=300,height=300')">comprobar</a>
			<br />
			<button type="submit">enviar</button>
		</form>
	</body>
</html>
Saludos
__________________
Por favor:
No hagan preguntas de temas de foros en mensajes privados... no las respondo