Jquery getting ul depending a match in the child text in an anchor inside with variable value
<p>I have the following javascript variable:</p>

<pre><code>&lt;script&gt;
   var theme="Videocameras";
&lt;/script&gt;
</code></pre>

<p>And the following html code:</p>

<pre><code>&lt;div&gt;    
     &lt;span&gt;Tecnology&lt;/span&gt;
     &lt;ul id="menu"&gt;
         &lt;li&gt;
            &lt;a href="#"&gt;Multimedia&lt;/a&gt;
            &lt;ul&gt;
                &lt;li&gt;
                    &lt;a href="#"&gt;Videocameras&lt;/a&gt;
                &lt;/li&gt;

                &lt;li&gt;
                    &lt;a href="#"&gt;Cameras&lt;/a&gt;
                &lt;/li&gt;

                &lt;li&gt;
                    &lt;a href="#"&gt;MP3 and MP4&lt;/a&gt;
                &lt;/li&gt;                  
            &lt;/ul&gt; 
        &lt;/li&gt; 
            &lt;li&gt;
            &lt;a href="#"&gt;Telephony&lt;/a&gt;
            &lt;ul&gt;              
                &lt;li&gt;
                    &lt;a href="#"&gt;Mobile Phones&lt;/a&gt;
                &lt;/li&gt;

            &lt;/ul&gt; 
        &lt;/li&gt; 
     &lt;/ul&gt;
&lt;/div&gt;
</code></pre>

<p>I would like to know how to get a unique ul that has inside an href with text that matches to the value of the variable.</p>

<p>Could you give me a hand?
Best Regards.</p>
