Bueno, asi tengo el codigo:
Código HTML:
<script>
function loading() {
var images_number = document.getElementById('images_number').value;
for (var i=0; i < images_number; i++)
{
var y = "userfile"+(i+1);
var y1 = "loading"+(i+1);
if(document.getElementById(y).value.length) document.getElementById(y1).style.display='inline';
/* }*/
}
}
</script>
<form action="index.php" style="margin-top:0px;margin-bottom:0px" method=post name="form2" ENCTYPE="multipart/form-data" onsubmit="loading()">
<td width="32%" height="40px"><table width="100%" border="0" cellspacing="0" cellpadding="0" id="fila1" style=" display:none;"><tr><td width="80%"><input type=file class="userfile1" id="userfile1" name="userfile1"></td><td style="background-color:#dce6f2; text-align=left;"> <img id="loading1" src="../images/ajax-loader1.gif" width="16" height="16" style="display:none; vertical-align:middle;" /></td></tr></table></td>
<input type="image" id="boton_continuar1" src="../images/guardar_cambios.png" />
lei
aqui que el problema era del IE pero se admiten sugerencias