|    
			
				14/05/2008, 08:11
			
			
			  | 
  |   |  |  |  |  Fecha de Ingreso: mayo-2003 Ubicación: Panama city, Panama, Panama 
						Mensajes: 1.154
					 Antigüedad: 22 años, 5 meses Puntos: 5 |  | 
  |  Re: Como crear código html mediante una función  
  Prueba esto:  Código PHP:    <script language="javascript">function crearBoton() {
 var b = document.createElement('input');
 b.type = 'button';
 b.value = 'Botón';
 document.body.appendChild(b);
 }
 </script>
 
 <input type="button" onClick="crearBoton()" value="Crear Botones">
 
 Saludos 
				__________________Saruman
 
 One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them.
     |