title: jQuery get value of n-th element
body: <p>Good day. I used search but didn't find the answer I was looking for, I think this is a common question.</p>
  
  <p>Is there any solution to get value of n-th element via jQuery?</p>
  
  <p>Here is simple example:
  Imagine that we have n inputs with same class. The easiest way to get value of n-th, as I thought <code>$(".some_class").get(n-th).val()</code> the simplest way. But when we use <code>get()</code>, it returns</p>
  
  <blockquote>
    <p>Object #HTMLInputElement</p>
  </blockquote>
  
  <p>So after using on it <code>val()</code> we got error:</p>
  
  <blockquote>
    <p>Uncaught TypeError: Object #HTMLInputElement has no method 'val'.</p>
  </blockquote>
  
  <p>Is there any solution how use only jQuery methods in this situation?</p>