mercredi 15 avril 2015

Multiple Files - Preview in DIVs

Can someone help me out here.


If I have 4 Inputs of type "file", and 4 div's with no content.



<div>
<input type="file" name="bestand_een" class="" value="">
<input type="file" name="bestand_twee" class="" value="">
<input type="file" name="bestand_drie" class="" value="">
<input type="file" name="bestand_vier" class="" value="">
</div>

<div id="one"></div>
<div id="two"></div>
<div id="three"></div>
<div id="four"></div>


How can I show chosen image from input 1 in div 1 and so on? (I need 4 inputs not 1 input and each chosen image to a div)


Aucun commentaire:

Enregistrer un commentaire