Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/05/2011, 12:06
ocp001a
Colaborador
 
Fecha de Ingreso: mayo-2008
Ubicación: $MX['VZ']['Xalapa']
Mensajes: 3.005
Antigüedad: 16 años
Puntos: 528
Respuesta: Copiar html de un textarea a otro.

si tienes un textarea con id, puedes hacer simplemente esto:

Código HTML:
Ver original
  1. <input type="button" onclick="document.getElementById('campo_b').innerHTML=document.getElementById('campo_a').innerHTML;">