title: How to check if dropdown is disabled?
body: <p>Using jquery how do i simply check if it is read only?</p>
  
  <p>this is what i am trying..</p>
  
  <pre><code>$("#item").keydown(function (event) {
       //alert(event.keyCode);
       if (event.keyCode == 13) {
           $("#ok").click();               
           if ($('#dropLength').prop("disabled") == false) {
               $("#dropLength").focus();
               return;
           }
           if ($('#dropUnit').prop("disabled") == false) {
               $("#dropUnit").focus();
               return;
           }
           $("#qty").focus();                
           return ;
       }
   });
  </code></pre>
  
  <p>The dropdowns are set to readonly using jquery also:</p>
  
  <pre><code>if ($('#dropLength').find('option').length &lt;= 1) {
        $('#dropLength').attr("disabled", "disabled");
  }
  if ($('#dropUnit').find('option').length &lt;= 1) {
        $('#dropUnit').attr("disabled", "disabled");
  }   
  </code></pre>