How to get a tag value inside an attribute?
<pre><code>&lt;li id="test"&gt;
   &lt;a title="&lt;span class='something1'&gt;Some text&lt;/span&gt; &lt;br /&gt;
   &lt;span class='something2'&gt;Some text 2&lt;/span&gt;"&gt;&lt;/a&gt;
&lt;/li&gt;
</code></pre>

<p>Is it possible to get "Some text 2"?</p>

<p>alert(what?)</p>

<p>UPD: The code works with <a href="http://flowplayer.org/tools/tooltip/index.html" rel="nofollow">jQuery Tooltip Plugin</a>, but is it possible to get a value?</p>

<p>UPD2: Thanks, GolezTrol. I don't know why, but it didn't cross my mind that I should check the plugin. If anyone needs it later:<br /></p>

<pre><code>var title_text = $('#test &gt; a').attr('title');

alert($(this).tooltip().getTip().find(".something2").text());
</code></pre>
