jQuery Closest Title
<p>Having a hard time to grab a title from a list, here is my code.</p>

<pre><code>  &lt;ul class="selected connected-list ui-sortable" style="height: 170px;"&gt;
    &lt;li class="ui-helper-hidden-accessible" style=""/&gt;
    &lt;li class="ui-state-default ui-element" title="80 Days" style="display: list-item;"&gt;&lt;span class="ui-icon ui-icon-arrowthick-2-n-s"/&gt;80 Days&lt;a class="action" href="#"&gt;&lt;/a&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
</code></pre>

<p>The first list item will not have a tile so it will always be the second list item.</p>

<pre><code>$("ul.selected").closest("li").attr("title");
</code></pre>

<p>But getting no result. Hope you can advise !!</p>

<p>Thank you in advance if you can</p>
