if content == smth in Jquery?
<p>sorry if the title of the question not clear , really I can not describe it with words !</p>

<p>I use Fancy Music Player : <a href="http://codecanyon.net/item/fancy-music-player-v20-jquery-plugin" rel="nofollow">http://codecanyon.net/item/fancy-music-player-v20-jquery-plugin</a>
so I can not edit the main plugin file , so I have to do it with this way !</p>

<p>I have two lists with same contents :</p>

<pre><code>&lt;ul id="list1"&gt;
    &lt;li&gt;&lt;em&gt; item one  &lt;/em&gt;  &lt;a class="delete" href="#"&gt;Delete&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;em&gt; item two  &lt;/em&gt;  &lt;a class="delete" href="#"&gt;Delete&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;em&gt; item three  &lt;/em&gt;  &lt;a class="delete" href="#"&gt;Delete&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;ul id="list2"&gt;
    &lt;em&gt; item one  &lt;/em&gt;
    &lt;em&gt; item two  &lt;/em&gt;
    &lt;em&gt; item three  &lt;/em&gt;
&lt;/ul&gt; 
</code></pre>

<p>I can delete item in the first list ..
but I want to delete the item in the #list2 too if it has the same text
unforsantly I can not use id , so I want a way to do something like this :</p>

<pre><code>    $(".delete").live('click',function(eve) {
      eve.preventDefault();
      // 1- delete item here in the first list 
      //    it's ok

      // 2- delete the same item in the second list  ('#list2') using text inside &lt;em&gt; ?
       var titleItem = $(this).parent().find('em').text(); // i get here ( item one or item two .. etc .  depends on the item clicked above )
       // here I want to see if this titleItem ==  ('#list2 em').text .. so delete it too
       // I have to use the conent here cuz I can not edit to the main jquery plugin :(

    });
</code></pre>

<p>thanks ..</p>
