title: find if item exists in a list
body: <p>I have a list:</p>
  
  <pre><code>&lt;ul id="coll-selected-list" class="droptrue sort-drop ui-sortable"&gt;
                &lt;li class="sortedli" style=""&gt;blah&lt;/li&gt;
                &lt;li class="sortedli" style=""&gt;blee&lt;/li&gt;
                &lt;li class="sortedli" style=""&gt;blu&lt;/li&gt;
                &lt;li class="sortedli" style=""&gt;blum&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>I want to check it item blah exists in the above list. However my code doesn't work, any ideas?</p>
  
  <pre><code>var itemName = "blah";
             if ($("#coll-selected-list li:contains(" + itemName + ")").length) {
                 alert("exists");
             }
  </code></pre>