How to upload file just after selecting the file from the file dialog?
I want to upload an image just after the user select it from the di开发者_如何学Pythonalog, 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
精彩评论