English 中文(简体)
有效载荷——能够增加多个档案尝试,而不是取而代之?
原标题:File Upload - can multiple file attempts be added instead of replaced?

I have an input field: <input type="file" id="images" name="images[]" value="" class="test" multiple="">

This is a file upload with multiple file upload ability.

如果用户在多次尝试中上载文档,投入领域是否有可能增加档案?

Example:

CURRENT FLOW:

  1. User uploads 3 images

(User记住他有更多图像)

  1. User Uploads 2 more images

成果:2 图像添加到投入领域。

WHAT I WANT:

  1. User uploads 3 images

(User记住他有更多图像)

  1. User Uploads 2 more images

成果:5 图像添加到投入领域。

这样做是可能的,还是需要重新撰写投入领域如何发挥作用?

PS:目前,Im使用“压力 p”来管理上载现场,因此,我不得不在后端做太多的改动。 我很想知道,是否可以利用前端来汇集这些物品?

我尝试撰写一份联合材料小组,以管理这个领域,但每次档案的拼凑显示,而且你补充了这些物品,这只是夸大了以前上载的档案。

问题回答

You can use this to choose images and content as HTML format wp_editor("Your input name", product_image , array( editor_height =>200, editor_width =>300, media_buttons => true) );





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签