title: How to verify contents are greyed out
body: <p>The application for which I'm writing script (using selenium-webdrive with Ruby) is built in AJAX. In that, I want to check whether contents are greyed out-</p>
  
  <ol>I clicked on button</ol>
  
  <ol>Then div is loaded but I can see contents are greyed out & following div in firebug -</ol>
  
  <pre><code>&lt;div id="bottomHalf" class="disabled" style="background-color: transparent;"&gt;
  </code></pre>
  
  <p>To check whether it's greyed out, I'm confused how to write code. Based on my knwoledge, I could only find element -</p>
  
  <pre><code>driver.find_element(:id, "bottomHalf")
  </code></pre>
  
  <p>But I don't know how to write code for checking class="disabled" so that I can verify that contents are really greyed out.</p>