title: multi select is not being displayed through ajax call
body: <p>I'm implementing multi select through bootstrap. When i wrote it directly on page it works fine. I call ajax on select of drop down that is already existed in my page.
  <a href="https://silviomoreto.github.io/bootstrap-select/examples/" rel="nofollow noreferrer">here</a> is the tutorial for multi select which i'm following.</p>
  
  <p>here is my code </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/css/bootstrap-select.min.css" /&gt; 
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/js/bootstrap-select.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(function(){    
      $('#c_company').change(function() {
          c_company = $('#c_company').val();
          $.ajax({
              type: "POST",
              url: 'get_company_data.php',
              data: {
                  'c_company' : $('#c_company').val()
              },
              success: function(result)
              {
                  //alert(result);
                  $(".col-lg-8").html(result);
  
              }
          });    
      });    
  });
  
  
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;select id='c_company' name='company'&gt;
  &lt;option value='Bunnny'&gt;Bunny&lt;/option&gt;
  &lt;option value='Nestle'&gt;Nestle&lt;/option&gt;
  &lt;option value='Coke cola'&gt;Coke cola&lt;/option&gt;
  &lt;select&gt;
  &lt;div class='col-lg-8'&gt;
  
  &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>here is get_company_data.php file code.</p>
  
  <pre><code>&lt;?php
  
  echo "&lt;select class='selectpicker' multiple &gt;
    &lt;option&gt;Mustard&lt;/option&gt;
    &lt;option&gt;Ketchup&lt;/option&gt;
    &lt;option&gt;Relish&lt;/option&gt;
  &lt;/select&gt;";
  
  ?&gt;
  </code></pre>
  
  <p>ajax call is working fine and it returns right data because i'd shown it by putting response on alert function. I don't know where i'm doing wrong because if html is directly visible on page then it must get visible by ajax call too. Any help would be much appreciated. Thank you :) </p>