title: Comparing two numbers 9<10
body: <p>I have never met this bug before , whenever my jquery script gets to compare the numbers 9 and 10 or 99 and 100 or 999 and 1000 with 9&lt;10 or 99&lt;100 or 999&lt;1000 I get a faulty result , I get false instead of true. 
  How do I fix this jquery bug ? 
  Thank you.</p>
  
  <p>Jquery:</p>
  
  <pre><code>interval = setInterval(function(){
                  $.post('help/retrivetable.php', { tableimpulse : sessid } , 
                      function(watchaget) {
                          if (countcom &lt; watchaget)
                          {
                              countcom = watchaget;
                              $.post('help/retrivetable.php', { newtableimpulse : sessid } , 
                                  function(getit) {
                                      $("#chat").append("&lt;p id="+countmsg+"&gt;"+getit+"&lt;/p&gt;");
                                      var scrolldown = $('#chat')[0].scrollHeight;
                                      $('#chat').animate({scrollTop:scrolldown}, 200);
                              }); 
                          }
                  }); 
              }, 50); 
  </code></pre>
  
  <p>When countcom = 9 and watchaget = 10 it should enter that if , but I treats it like they are equal and won't get in it.</p>