title: Enable Button with on change of Select
body: <p>I need help calling my function, it is not recognizing it and i cannot see why? Any answers to why this is not working...thanks
      
      
      Broken
      </p>
  
  <pre><code>&lt;script type='text/javascript'&gt;
  
  $('select').change(function() {
  alert("hi");
      var op =$(this).val();
      if(op !='') {                 
      $('input[name="processor_details"]').prop('disabled',false);
  } else {
      $('input[name="processor_details"]').prop('disabled', true);
  }   
  });
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div&gt;
  &lt;strong&gt;Processor:&lt;/strong&gt;
   &lt;select class="custom-pc" name="processor" id="processor"&gt;
          &lt;option value=""&gt;&lt;/option&gt;
          &lt;option value="1"&gt;1&lt;/option&gt;
          &lt;option value="1"&gt;2&lt;/option&gt;
          &lt;option value="3"&gt;3&lt;/option&gt;                
      &lt;/select&gt;
   &lt;input name="processor_details" type="button" value="Details" disabled="true" /&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>