开发者

How to upload file just after selecting the file from the file dialog?

开发者 https://www.devze.com 2023-03-25 08:03 出处:网络
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 javas

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

精彩评论

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