title: jquery if else compare query issue
body: <p>I have below jquery if\else comparison to evaluate part of code based on results,</p>
  
  <pre><code>if($('#order_quantity').val() &lt; $('#available_quantity').val()) {
     // ---code to run----
  } else {
     // --- code to show error---
  }
  </code></pre>
  
  <p>This code work 3-4 times correctly for inputs and after that it working wrong,</p>
  
  <p>when <code>$('#order_quantity').val() = 5</code> and <code>$('#available_quantity').val() = 46</code>, then ideally <strong>--code to run--</strong> should execute but it is running <strong>--code to show error --</strong> of else statement.</p>
  
  <p>Sometimes it correct and sometimes it not, I created <code>console.log</code> for above input values, inputs are correct but still comparison results throw wrong results</p>
  
  <p>What can be problem in this comparison?</p>