title: jQuery check if element has css attribute
body: <p>I need to know when I click on an element if this element has a CSS attribute. I am thinking of something like this, but it does not work:</p>
  
  <pre><code>if ($('#element').attr("text-shadow")) {
      alert ('i Have')
  }
  else {
      alert ('i dont')
  }
  </code></pre>
  
  <p>Any tips on this one?
  Thanx</p>