<script>
function getfile()
{
for(i=0;i<document.all.photofile.length;i++)
alert(document.all.photofile[i].value);
}
</script>
<input type="file" name="photofile" style="width:;height:22">
<input type="file" name="photofile" style="width:;height:22">
<input type="file" name="photofile" style="width:;height:22">
<input type=button value=getfile onclick=getfile()>
function getfile()
{
for(i=0;i<document.all.photofile.length;i++)
alert(document.all.photofile[i].value);
}
</script>
<input type="file" name="photofile" style="width:;height:22">
<input type="file" name="photofile" style="width:;height:22">
<input type="file" name="photofile" style="width:;height:22">
<input type=button value=getfile onclick=getfile()>
myarray=new Array();
function getfile()
{
for(i=0;i<document.all.photofile.length;i++)
{
myarray[i]=document.all.photofile[i].value;
alert(myarray[i]);
}
}
</script>
<input type="file" name="photofile" style="width:;height:22">
<input type="file" name="photofile" style="width:;height:22">
<input type="file" name="photofile" style="width:;height:22">
<input type=button value=getfile onclick=getfile()>