title: How to get CSS value from JS?
body: <p>I'm doing responsive design and using @Media to set up CSS depending on the size of the screen.  I set up a css value called</p>
  <p>.dskcell { display: none; }</p>
  <p>and set it to none if the media is small otherwise display: normal.  What I want to know how to get the display value of dskcell in pure Javascript?</p>
  <p>I see getComputedStyle but that seems like it needs a HTML element which on some pages the css isn't used.  How can I find out what display value of dskcell is in JS ?</p>
  <p>EDIT:</p>
  <pre><code>&lt;ul id=&quot;mnu&quot; class=&quot;page dskcell&quot;&gt;
  </code></pre>
  <p>In Javascript, i need to know if its being hidden or shown so am hopping to see what the display value of dskcell is.</p>