title: Input clone without value
body: <p>I have a problem in changing this script that goes to clone the input fields.</p>
  
  <p>I would like to clone the fields without value, but I can not.</p>
  
  <p>Can you give me any suggestions?
  thanks</p>
  
  <pre><code>var scntDiv = $('#p_scents');
      var i = $('#p_scents p').length + 1;
  
      $('#addScnt').click(function() {
          if (i &lt;= 10) {
                  $('#p_scents p:first').clone().find('input').attr('name', function(index, value) {
  
                  return value + i;
              }).end().append('&lt;a href="#" class="remScnt"&gt;&lt;%=xRimuovi%&gt;&lt;/a&gt;').appendTo(scntDiv);
  
              new tcal({
                  formname: 'NEW',
                  controlname: 'startd' + i
              });
  
              i++;
              return false;
          }
          else {
              alert('Max element!');
          }
      });
  
  
  
  
  
  &lt;input type="text" class="form-control"  id="p_scnt" size="20" name="clienteNome_1" value="" placeholder="&lt;%=xNome%&gt;"  style="width:120px" /&gt;
  
  &lt;input type="text" class="form-control"  id="p_scntCon" size="20" name="clienteCognome_1" value="" placeholder="&lt;%=xCognome%&gt;"  style="width:120px" /&gt;
  
  &lt;input type="text" class="form-control"   id="p_scntMail" size="20" name="clienteMail_1" value="" placeholder="&lt;%=xEmail%&gt;" style="width:150px" onBlur="emailCheckemailStr(this.value)" /&gt; 
  
  &lt;input type="text" class="form-control"  id="p_scntTel" size="20" name="clienteTel_1" value="" placeholder="&lt;%=xCellulare2%&gt;"  style="width:120px" /&gt;
  
    &lt;input type="button" value="&lt;%=xAggiungi%&gt;" id="addScnt" class="btn btn-warning" style="width:100px;height:35px"&gt;
  </code></pre>