title: JQuery enable only button with value of True
body: <p>I got the following HTML code:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;button type="button" class="btn btn-primary jumbotron-td-enable-button enb btnEnable" value="&lt;%= enables[i]%&gt;"&gt;
    Enable
  &lt;/button&gt;
  </code></pre>
  
  <p>This button is rendered by dynamically pulling data on json file hence i got the following value <code>value="&lt;%= enables[i] %&gt;</code></p>
  
  <p>Here is my javascript:</p>
  
  <pre><code>$(".btnEnable").each(function() {
      var isEnable = $(this).val();
      if (isEnable == 'FALSE') {
          $(".enb").attr("disabled", true);
      }
  });
  </code></pre>
  
  <p>My problem is that it does it all of the button, for example the value of the button is like this:</p>
  
  <pre><code>FALSE
  TRUE
  TRUE
  FALSE
  </code></pre>
  
  <p>So i only want the FALSE button to be disabled. I did try to use ID and it does what i want but the problem is that it is only getting the first FALSE value and not the other          </p>