Ver Mensaje Individual
  #4 (permalink)  
Antiguo 14/11/2006, 12:35
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 3 meses
Puntos: 772
Hola omrios

Esto no lo he probado, pero creo que puede funcionar:
Código:
<script language="javascript">
	var nfiles = 2;
	function expand(){
		nfiles++
		files.insertAdjacentHTML('BeforeEnd','<BR>*Archivo*'+nfiles+'*:*<input type="file" name="attach'+nfiles+'">');
    if (nfiles==5)
      document.getElementById('button1').disabled = true;
		return false;
	}
</script>
Saludos,