title: jQuery - Get input value with specific class name
body: <p>How to get all values of input type text with a specific class? </p>
  
  <p>I tried this code. But it's not showing the expected answer.</p>
  
  <pre><code>$('input .classname').each(function(){
      console.log($(this).val());
  });
  </code></pre>