I want to upload an image just after the user select it from the dialog, not using another submit button? how to do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I haven’t tried, but I believe you could submit using javascript. Hook the js function to the onChange() event of the file object?
There also appears to be an input event <- this article shows how to hook the event also.
To submit the form see here