I want to upload an image just after the user select it from the dialog, not using another submit button? how to do this?
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.