hola amigos del foro
tengo este
Código PHP:
<style type="text/css">
<!--
.Estilo3 {font-size: 10px}
-->
</style>
<input type="file" name="imgadjunta" id="imgadjunta" onChange="checkear(this)" class="Estilo3"/>
Código PHP:
function prever() {
var campos = new Array("maxpeso", "maxalto", "maxancho");
for (i = 0, total = campos.length; i < total; i ++)
f.form[campos[i]].disabled = false;
actionActual = f.form.action;
targetActual = f.form.target;
f.form.action = "previsor.php";
f.form.target = "ver";
f.form.submit();
for (i = 0, total = campos.length; i < total; i ++)
f.form[campos[i]].disabled = true;
f.form.action = actionActual;
f.form.target = targetActual;
}
pero al entrar a la validacion checkear(this) este pierde su propiedades
alguien sabe como solucionar el detalle