title: How to add option values on silviomoreto's Bootstrap-Select
body: <p>I used silviomoreto's bootstrap-select but I'm having problems.
  I have 2 Dropdowns (Select) a Region dropdown and Cities. Now, I have a jquery onchange function, the function will change the values in the cities dropdown depending on the region selected. Here's my code:</p>
  
  <pre><code>&lt;select id="region" class="selectpicker"&gt;&lt;/select&gt;
  &lt;select id="cities" class="selectpicker"&gt;&lt;/select&gt;
  
  $("#region").on('change', function () {
     $("#cities").html('&lt;option&gt;city1&lt;/option&gt;&lt;option&gt;city2&lt;/option&gt;');
  });
  </code></pre>
  
  <p>The problem is I think the compatibility? When I removed the class="selectpicker" it works fine, but I can't remove it because I used it for my dropdown ui. I checked the documentation in here <a href="https://developer.snapappointments.com/bootstrap-select/" rel="noreferrer">https://developer.snapappointments.com/bootstrap-select/</a> but I can't find relevant answer to my question. Thanks!</p>