Hybrid View

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    2
    Vote Rating
    0
    nitya is on a distinguished road

      0  

    Default Issue clearing fileupload field

    Issue clearing fileupload field


    Hi team,

    I have two fileupload fields. On clicking button I want to clear only one field value. I want to empty it. I dont want to reset complete form. Is this possible? I am able to clear input field that is visible but I found there is another field with id as fileid+'-File'. This invisible field of type file is not getting cleared when I use document.getElementByID(fileid+'-File').value='';

    Because this field is not cleared, my fileselected listerner is not fired when ever I select same file again and again. Can some one please help me with any tips in clearing this invisible field?

    -Nitya

  2. #2
    Sencha User
    Join Date
    Oct 2012
    Posts
    2
    Vote Rating
    0
    nitya is on a distinguished road

      0  

    Default


    Can Extjs experts give me some idea of this please.