title: How to get link inside li with jQuery?
body: <p>My html:</p>
  
  <pre><code>&lt;div id="myDiv"&gt;
          &lt;ul class="myClass" style="display: block;"&gt;
              &lt;li class="directory selected"&gt;
              &lt;a href="#" rel="src/fd/"&gt;fd&lt;/a&gt;
                  &lt;ul class="jqueryFileTree" style="display: block;"&gt;
                      &lt;li class="file ext_jpg"&gt;
                      &lt;a href="#"&gt;drevilblu.jpg&lt;/a&gt;
                      &lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>I need to get <code>fd</code> by query:</p>
  
  <pre><code>var folderName = $("#myDiv").find("li.selected a").text();
  </code></pre>
  
  <p>But i receive <code>drevilblu.jpg</code> instead.<br>
  How to get <code>a</code> inside <code>li class="directory selected"</code></p>