title: how to active dropdown on click on checkbox
body: <p>I am new in Laravel Framework and new in jquery.
  <a href="https://i.stack.imgur.com/ZPkcv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZPkcv.png" alt="enter image description here"></a></p>
  
  <p>i am facing one problem. i want by default all the selectboxes are disabled.It will be active only when click on Checkbox i.e. when user click on skin care checkbox its corresponding select box will active and when user click on Hair checkbox its corresponding select box will active.
  My html code as below:-</p>
  
  <pre><code>enter code here
  &lt;div class="div_img_part-2"&gt; 
      &lt;span class="img_part_class-2"&gt;&lt;img src="img/skin-care-bbeauty-tip1.png"&gt;&lt;/span&gt;
      &lt;span class="text_part_class-2"&gt;
      &lt;span class="check-box"&gt;
          &lt;input type="checkbox" name="name"/&gt;Skin Care&lt;/span&gt;
      &lt;/span&gt;
      &lt;select class="selectpicker" &gt;
          &lt;option&gt;Salon&lt;/option&gt;
          &lt;option&gt;Mobile beautician&lt;/option&gt;      
          &lt;option&gt;Both&lt;/option&gt;
      &lt;/select&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>Note:- The above code later on i will implement through Foreach loop. So please provide me jquery code according to Foreach</p>