title: How to get all href values from a list with JQuery?
body: <p>I want to retrieve all URIs from the <code>href</code> attributes with JQuery. How could I do that? </p>
  
  <p>Here an example of the HTML</p>
  
  <pre><code>&lt;ul class="nav navbar-nav"&gt; 
      &lt;li class="active"&gt;&lt;a href="www.myweb.com/home"&gt;Home &lt;span class="sr-only"&gt;(current)&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; 
      &lt;li&gt;&lt;a href="www.myweb.com/findyourcity"&gt;Find Your City&lt;/a&gt;&lt;/li&gt; 
      &lt;li&gt;&lt;a href="www.myweb.com/howitwork"&gt;How It Works&lt;/a&gt;&lt;/li&gt; 
      &lt;li&gt;&lt;a href="www.myweb.com/faq"&gt;FAQ&lt;/a&gt;&lt;/li&gt; 
  &lt;/ul&gt;
  </code></pre>