Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/09/2009, 12:37
Avatar de Superlinux
Superlinux
 
Fecha de Ingreso: octubre-2005
Ubicación: Colombia
Mensajes: 662
Antigüedad: 21 años
Puntos: 1
Pregunta mantener las propiedades de mi input type="file"

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
__________________
"La vida sigue su curso, tú toma parte de ella."