Check anchor tags color
<p>If I have anchor tags as follows:</p>

<pre><code>&lt;a href="link1.html" class="none_standard_links"&gt;link one&lt;/a&gt;&lt;br /&gt;
&lt;a href="link2.html" class="none_standard_links"&gt;link two&lt;/a&gt;&lt;br /&gt;
&lt;a href="link3.html" class="none_standard_links"&gt;link three&lt;/a&gt;&lt;br /&gt;
&lt;a href="link4.html" class="none_standard_links"&gt;link four&lt;/a&gt;&lt;br /&gt;
&lt;a href="link5.html" class="none_standard_links"&gt;link five&lt;/a&gt;&lt;br /&gt;
&lt;a href="link6.html" class="none_standard_links"&gt;link six&lt;/a&gt;&lt;br /&gt;
&lt;a href="link7.html" class="none_standard_links"&gt;link seven&lt;/a&gt;&lt;br /&gt;
&lt;a href="link8.html" class="none_standard_links"&gt;link eight&lt;/a&gt;&lt;br /&gt;
&lt;a href="link9.html" class="none_standard_links"&gt;link nine&lt;/a&gt;&lt;br /&gt;
&lt;a href="link10.html" class="none_standard_links"&gt;link ten&lt;/a&gt;&lt;br /&gt;
</code></pre>

<p>How do I loop through the entire set and alert the url of the link if it has a style sheet color of red?</p>

<p>I have tried making a start with the script, but don't know how to finish off:</p>

<pre><code>$(document).ready(function(){
    $('#button1').click(function() {
        $(".none_standard_links").each(function (i) {
            if (this.style.color = "red") {
                alert("not sure what to do here?");
            }
        });
    });
});
</code></pre>

<p>If the approach I am attempting is not the best way to go about doing this, please feel free to make changes.</p>
