title: jquery p:last-child not working
body: <p>I'm trying to add some data to my paragraphs, how ever it is only working for my first <code>p</code>.</p>
  
  <p>I can make it put the data into my last <code>p</code> by using <code>p:gt(0)</code> but seems like I should be able to use <code>p:last-child</code>.</p>
  
  <p>Any idea where I'm going wrong?</p>
  
  <p>HTML  </p>
  
  <pre><code>&lt;div class="col-md-12" id="quizEnd" style="display:none;text-align:center;"&gt;
    &lt;p&gt;&lt;/p&gt;
    &lt;p&gt;&lt;/p&gt;
    &lt;h2&gt;&lt;/h2&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>$("#quizEnd p:first-child").text("Navn : " + quizName);
  $("#quizEnd p:last-child").text("Email : " + quizMail);
  </code></pre>