title: determine input element status
body: <p>I have a problem determining status of an input field. I want JS to determine whether it is disabled or enabled but my code below always return 'false'. What am I doing wrong? Thanks</p>
  
  <pre><code>   &lt;input name="ctl00$ctl00$ctl00$ctl00$ContentPlaceHolderDefault$RobinBodyPlaceHolder   $LoggedInBodyPlaceHolder$AddEditUser1$EmailTextBox" type="text" value="email@mail.com"    id="ContentPlaceHolderDefault_RobinBodyPlaceHolder_LoggedInBodyPlaceHolder_AddEditUser1_EmailTextBox"    class="EmailTextBox" disabled="disabled"/&gt;
  
  
  function ConfirmEmailChange() {
      alert($('.EmailTextBox').disabled==true);
  }
  </code></pre>