Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/05/2009, 19:41
Avatar de lucasphp
lucasphp
 
Fecha de Ingreso: mayo-2009
Ubicación: Misiones
Mensajes: 170
Antigüedad: 15 años
Puntos: 3
problema firefox

tengo la siguiente función:
function add(){
a=document.getElementById("nuevo");
ja="<input name=\"archivo\" type=\"file\" id=\"archivo\" size=\"32\" />";
b=document.createElement(ja);
a.appendChild(b);
}

<div id="nuevo" style="width:300px;">
<input name="archivo" type="file" id="archivo" size="32" />
<input type="button" onclick="add()" value="Agregar otro archivo" />
</div>
<input type="submit" name="Submit" value="Enviar" />

en internet explorer me funciona bien, pero en firefox y opera no.