Can you use a hidden inputs value as part of a jQuery selector?
<p>I have a set of hidden inputs on my html page.</p>

<p>I'm looking to run a piece of jQuery to check if any of them have a particular value constant ("New"), and if they do, then do the following:</p>

<pre><code>$('#dataContainer').scrollTo("id of the input with the special value");
</code></pre>

<p>Is it possible to loop through the inputs based on value using jQuery selectors?  In this case, once it finds the first input with the value "New", it can call that scrollTo() method and then quit, it doesn't need to look at the rest of them.</p>

<p>How would you do this with jQuery?</p>
