title: disable input on check checkbox
body: <p>Need to disable an input when the check-box is unchecked, and when it is checked enable it.</p>
  
  <p>My code is like this:</p>
  
  <pre><code>&lt;div class="y"&gt;
      &lt;input type="checkbox" class="myCheck" /&gt;
      &lt;input type="select" name="x" class="mySelect" /&gt;
  &lt;/div&gt;
  
  &lt;div class="y"&gt;
      &lt;input type="checkbox" class="myCheck" /&gt;
      &lt;input type="select" name="x" class="mySelect" /&gt;
  &lt;/div&gt;
  
  &lt;div class="y"&gt;
      &lt;input type="checkbox" class="myCheck" /&gt;
      &lt;input type="select" name="x" class="mySelect" /&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>But I want to disable and enable the select input which correspond to a check-box. If user clicks in first check box enable first input, and do the same for second and third.</p>