title: Enabling dropdown when checkbox checked
body: <p>I've thoroughly looked for an answer but everything seems to only give me half of what I need, which is how I managed to get this started. What I'm trying to do is enable a dropdown menu when a checkbox is checked, but keep it disabled otherwise. I'm not really sure how to call the function in the tag, but then again i'm not really sure it's working.</p>
  
  <pre><code>function .onCheckChange() {
      if ($("#partoption2").is(':checked')) {
          $("#parttwoqty").attr('disabled', 'disabled');
          $("#partoption2").val("TRUE");
      } else {
          $("#parttwoqty").attr('disabled');
          $("#partoption2").val("FALSE");
      }
  }
  </code></pre>
  
  <p>This is the fiddle: <a href="http://jsfiddle.net/xjn3Q/1/" rel="nofollow">http://jsfiddle.net/xjn3Q/1/</a></p>
  
  <p>Thanks!</p>