title: If Statement not working in my jquery Function?
body: <p>I have a simple calculator with 2 tabs that i am building. One of those tabs are disabled with a class called .not-active. I want to remove that class when the value of #amount is > 195. However even though the if statement is in place it removes the class upon change of value, Even when value is &lt; 195. </p>
  
  <p>Here is my jquery function:</p>
  
  <pre><code>$(function() {
  $( "#slider-range-min1" ).slider({
    range: "min",
    value: 40,
    min: 5,
    max: 700,
    step: 5,
    slide: function( event, ui ) {
      $( "#amount" ).val( ui.value );
      if ($('#amount').val() &gt; "195") {
          $('#l2').removeClass('not-active');
      };
  
    }
  });
  $( "#amount" ).val( $( "#slider-range-min1" ).slider( "value" ));
  
  });
  </code></pre>