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
if you add
to your card container, you can reach any input from any card.
read FormPanel API, and fileUpload config.
Tags for this Thread