Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/11/2005, 04:15
Avatar de living
living
 
Fecha de Ingreso: mayo-2004
Mensajes: 1.266
Antigüedad: 20 años
Puntos: 2
Este sería un ejemplo sencillito:
Código HTML:
<html>
<head>
<script>
function mostrarTexto(texto){
	document.getElementById("capaTexto").innerText=texto;
}
</script>
</head>

<body>
<input type="button" value="Mostrar Texto" onClick="mostrarTexto('Macromedia')">
<div id="capaTexto"></div>
</body>
</html> 
__________________
¿Te apasiona el mundo del guión? El portal del guión