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: 18 años, 7 meses
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-size10px}
-->
</
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 (
0total campos.lengthtotal++)
            
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 (
0total campos.lengthtotal++)
            
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."