I am trying to ajax submit a form that contains file upload area. As I found out JS cannot handle file uploads therefore I am using this plugin -> http://jquery.malsup.com/form/#ajaxForm
However, after submitting the form, I am not getting anything in $_FILES
. Does anyone know what is the reason and how I can fix this?
My input field is <input type="file" name="logo" id="logo" />
and yes the form is multipart data.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…