开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜