title: Enable / Disable input using Jquery
body: <p>I have code like this, when I fill up the #number, the #texth is enabled (default is disabled) for me to fill it up. But when I delete content in #number. It doesn't disable #texth!</p>
  
  <pre><code> function soluong_nhap()
      {
          $('#customers2').find('tr').click( function(){
              var row = $(this).find('#number').val();
              if(row != null)
              {
                  $('#texth').prop("disabled", false);
              }
              if(row == null)
              {
                  $('#texth').prop("disabled", true);
              }
  
          });
      }
  </code></pre>