title: Get text from select <p> onclick
body: <p>Have a link div, with two <code>&lt;p&gt;</code> sections, on link click I only want to get the text of the first <code>&lt;p&gt;</code>.</p>
  
  <p>My code is below:-</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;div id="link"&gt;
      &lt;a href="#another-div" class="link"&gt;
          &lt;div class="class-name"&gt;
              &lt;p&gt;Value I want to get&lt;/p&gt;
              &lt;p&gt;This value I don't need&lt;/p&gt;
          &lt;/div&gt;
      &lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Output div:-</p>
  
  <pre><code>&lt;div id="another-div"&gt;
      &lt;label id="output-val"&gt;&lt;/label&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>jQuery</p>
  
  <pre><code>j$(document).ready(function() {
      j$("#link a").click(function() {
          var text = j$(this).text();
          j$("#output-val").text(text);
      } 
  });
  </code></pre>
  
  <p>This gets the value of both <code>&lt;p&gt;</code>'s, how do I only get the first one?</p>