How can I check if a value is inside a object list?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5181493/how-to-find-a-value-in-a-multidimensional-object-array-in-javascript">How to find a value in a multidimensional object/array in Javascript?</a>  </p>
</blockquote>

<p>I've these JavaScript objects in an array:</p>

<pre><code>[{"id": 3}, {"id": 32}, {"id": 33}, {"id": 34}]
</code></pre>

<p>How can I perform an IF statement like this:</p>

<pre><code>list = [3,32,33,34]
if x in list:
    "in the list!"
else:
    "not in the list"
</code></pre>

<p>How can I do this using jQuery/Javascript?</p>

<p>Any clues?</p>

<hr>

<p>Edit:</p>

<p>This is a JSON output:</p>

<pre><code>[{"id": 3}, {"id": 32}, {"id": 33}, {"id": 34}]
</code></pre>
