ciao, prova così:
in n hai il numero di campi file.codice:var e = document.getElementById('idform').elements; var n = 0 for(var i=0;i<e.length;i++) if(e.type=='file') n++;
saluti
ciao, prova così:
in n hai il numero di campi file.codice:var e = document.getElementById('idform').elements; var n = 0 for(var i=0;i<e.length;i++) if(e.type=='file') n++;
saluti