Posts

Showing posts with the label multiple-instance

How to use multiple plupload instance in a single form or single page

Today one of my client need a multiple upload options in a single form using a plupload , but didnt find best solution about that, So for other friend who need to same functionality i share my code with you, Here is a sample code for how to use a plupload multiple instance in single form or single page, you just need to create a unique container and a unique button for all instance, <div id="upload-container">   <div id="upload-container-1">     <div id="aaiu-upload-imagelist-1">       <ul id="aaiu-ul-list-1" class="aaiu-upload-list">       </ul>     </div>     <div id="imagelist-1" class="" data-source="<?php echo $edit_id; ?>"> </div>     <a id="upload-button-1" class="aaiu_button" href="#">Click here to add photographs</a>     <input type="hidden" name="uploader1_attachid...