enter code hereI have a div that includes three inputs on of this is a file input, I want when the user adds a file another copy of that div appear so that the user can add another file. I want to do it in jquery
I tried the append() event and I copied the HTML code for this div but when the copy appears and the user get to choose another file there is no other copy appears
<div class="master-div">
  <div class="divv">
    <input class="click" type="file"> 
   <input type="text">
   <input type="text">
 </div>
</div>
$('.click').on('click', function () {
        $('.master-div').append('
<div class="divv">
    <input class="click" type="file"> 
   <input type="text">
   <input type="text">
 </div>');
    });
 
    