阅读背景:

HTML表单构建/ Django request.POST帮助

来源:互联网 

I'm not sure if I'm just form building impaired or not thinking about this the right way. I'm attempting to build a form similar to Gmail's 'compose' form that has an AJAX image uploader. I have a portion of code that uploads the image and returns an image ID working fine. Once I receive the image ID back I've tried appending it to my form in a hidden checkbox field. I want to allow users to upload multiple images, and I'd also like to keep all my hidden checkboxes the same name so I can easily iterate over the values. Essentially this:I'm not sure if I'm just form building impaired




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: