title: Bootstrap selectpicker not working on multiple fields added by Javascript / JQuery
body: <p>Bootstrap select picker not working when loaded with jQuery /javascript dynamic fields.</p>
  
  <p>When i  remove selectpicker class from append function,it works but doesn't load style.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$('select').selectpicker();
  
  $('#add_more').click(function() {
  
    $('.testBox').append('&lt;select class="show-tick form-control"&gt;&lt;option&gt;Safari&lt;/option&gt;&lt;option&gt;Firefox&lt;/option&gt;&lt;option&gt;Chrome&lt;/option&gt;&lt;/select&gt; &lt;br /&gt;');
  
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/js/bootstrap-select.min.js"&gt;&lt;/script&gt;
  
  
  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" /&gt;
  &lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/css/bootstrap-select.min.css"&gt;
  
  
  &lt;a href="javascript:void(0)" id="add_more"&gt;Add More&lt;/a&gt;
  &lt;select class="selectpicker show-tick form-control"&gt;
      &lt;option&gt;Safari&lt;/option&gt;
      &lt;option&gt;Chrome&lt;/option&gt;
      &lt;option&gt;Firefox&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;br /&gt;&lt;br /&gt;
  &lt;div class="testBox"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>