I need to know when I click on an element if this element have a css option. I am thinking at something like this but it does not work:
if ($('#element').attr("text-shadow")) {
alert ('i Have')
}
else {
alert ('i dont')
}
Any tips on this one? Thanx