title: jquery ,get everyhing beetwen 2 tags
body: <p>So,I have this </p>
  
  <pre><code> $(".carpeta").click(function(){
      var elementos = $(this).nextUntil('ul.segunda').html();
      $('.doc-doc').html(elementos);
  });
  </code></pre>
  
  <p>With that</p>
  
  <pre><code> &lt;ul class="segunda"&gt;&lt;span class="glyphicon glyphicon-folder-close "&gt;&lt;/span&gt;&lt;span class="dime carpeta""&gt;&lt;/span&gt;
      &lt;li class="tercera"&gt;
          &lt;span class="glyphicon glyphicon-file"&gt;&lt;/span&gt;
          Example1
      &lt;/li&gt;
      &lt;li class="tercera"&gt;
          &lt;span class="glyphicon glyphicon-file"&gt;&lt;/span&gt;
          Example2
      &lt;/li&gt;
      &lt;ul class="segunda"&gt;&lt;span class="glyphicon glyphicon-folder-close "&gt;&lt;/span&gt;&lt;span class="dime carpeta""&gt;&lt;/span&gt;
  </code></pre>
  
  <p>On click first ul I wanna get everything until next ul with the class ".segunda" but I only have the first li "example1".</p>