JQuery selector for inline style property
<p>I would like to use a jquery to select the following span:</p>

<pre><code>&lt;span id="RequiredFieldValidator1" class="validationerror" style="color: Red; display: none;"&gt;*&lt;/span&gt;
</code></pre>

<p>But not select the following span which differs from the original in that the style attribute has a display property whose value is inline instead of none.</p>

<pre><code>&lt;span id="RequiredFieldValidator2" class="validationerror" style="color: Red; display: inline;"&gt;*&lt;/span&gt;
</code></pre>

<p>I am aware inline styles are evil but an asp.net web forms validator control is generating it and doing a lot of good as well as evil.</p>

<p>Can this be done using jquery selectors? I'm new to jquery.</p>
