title: Turn off sections of JS code
body: <p>I'm trying to make a "Manual Override" button that will allow a user to fill in forms of a field manually without auto-complete or the browser doing the math for them. I wanted to have a button that, if left on "No", would run JS but if not would alert them and not run the JS code. Any help in understanding how I'm going about this wrong would be greatly appreciated! Thank you so much!</p>
  
  <p>HTML:</p>
  
  <pre><code>    Manual Overide: 
              &lt;label&gt;No&lt;input type="radio" name="manualOverride" 
                          id="manualOverrideNo" value="no" checked /&gt;&lt;/label&gt;
              &lt;label&gt;Yes&lt;input type="radio" name="manualOverride" 
                          id="manualOverrideYes" value="yes" /&gt;&lt;/label&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>   //Manual Override Switch
  $(document).ready(function() {
      if($('#manualOverrideNo').prop('checked')) {
  
  //Code For Auto-complete
  
  } else {
          alert("You have turned off Auto-complete");
      }
  });
  </code></pre>