1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    2
    Vote Rating
    0
    cekimy is on a distinguished road

      0  

    Question How to upload a file with Ajax?

    How to upload a file with Ajax?


    I used the FileUploadField,but it uploads the file through form.submit?
    I have a 'card' layout form,all of the input fields are in the 1st card include a file type field,when i click "Next Step",i just want to upload an Excel to PHP using Ajax,read it and then return the data to display in the 2nd card for the users to confirm it.How can I achieve it?Thanks

  2. #2
    Sencha User
    Join Date
    Jul 2010
    Posts
    46
    Vote Rating
    0
    proofmoore is on a distinguished road

      0  

    Default


    if you add

    defaults: {
    xtype: "container",
    },

    to your card container, you can reach any input from any card.

  3. #3
    Sencha User
    Join Date
    Apr 2008
    Location
    Hong Kong
    Posts
    171
    Vote Rating
    0
    jarlau is on a distinguished road

      0  

    Default


    read FormPanel API, and fileUpload config.

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi