title: JS offset different results
body: <p>I am working on a smaller webpage (onepage) and I stumbled upon something very strange. I am trying to get the exact offset top position of a alement. As you can se at the screenshot, the first result is logged via: </p>
  
  <pre><code>console.log($('section#members')[0].offsetTop);
  </code></pre>
  
  <p>And second result is just a log of:</p>
  
  <pre><code>console.log($('section#members'));
  </code></pre>
  
  <p>The second result is giving the correct result and the first is wrong. However when I try to get the second result(2), via the first code example it outputs the wrong result.
  Any idear why this is happening?</p>
  
  <p>Regards, Simon<a href="https://i.stack.imgur.com/Tldsj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Tldsj.png" alt="enter image description here"></a></p>