开发者

Upload image first then save/submit

开发者 https://www.devze.com 2023-03-11 07:26 出处:网络
I have a form with several text inputs and an image input. The image input, once selected, needs to be uploaded (via an \"Upload\" button beside it) first to give user an opportunity to crop their upl

I have a form with several text inputs and an image input. The image input, once selected, needs to be uploaded (via an "Upload" button beside it) first to give user an opportunity to crop their uploaded image,开发者_如何学运维 before the form can be saved/submitted.

I want to know How I should implement the "upload first then save" design? Note I am using jQuery. Thanks.


I find it often simple to upload via a own popup window. That way the upload has its own form.

I have also used a UpdatePanel to async-upload the image.

0

精彩评论

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