
22/01/2003, 09:25
|
 | Moderador extraterrestre | | Fecha de Ingreso: diciembre-2001 Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 2 meses Puntos: 61 | |
¿Algo así?
<html>
<head>
<title>Untitled</title>
<style>
input, textarea, body{font:normal 10px/15px verdana;color:black;border:solid 1px black;overflow:auto;}
</style>
<script>
function adicion(direccion){
document.formulario.texto.value=document.formulari o.texto.value+'<A HREF="http://'+direccion+'">'+direccion+'</A>'
}
</script>
</head>
<body>
<form action="Ninguna.. no quiero ninguna acción, por favor!" name="formulario" id="formulario"> http://<input type="text" size=40 name="enlace" style="overflow:hidden;" value=""><br>
<input type="button" onclick="adicion(this.form.enlace.value)" value="Añadir">
<br>
Escribe:<br>
<textarea cols="70" rows="20" name="texto"></textarea>
</form>
</body>
</html>
Espero tu respuesta...
__________________ Cómo escribir
No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia. |