Jquery- Find the element has given style property
<p>i have a html table </p>

<pre><code>    &lt;table class="mytable"&gt;
       &lt;tr&gt;
           &lt;td&gt;
            test value
           &lt;/td&gt;
       &lt;tr&gt;
    &lt;/table&gt;
</code></pre>

<p>on loading the page dynamically adding a td </p>

<pre><code>        $(".mytable tr:first").append("&lt;td id='scheduledInMyLearnStatus' class='changeFieldValue' style='background-color:#FE2E2E;'&gt;&lt;/td&gt;");
</code></pre>

<p>now on clicking the that particular td i want to compare whether its has backgroung color =#FE2E2E
or has anything else</p>

<pre><code>    $('td').live('click', function() {

       //compare here 
    });
</code></pre>
