title: Retrieving the value of all the inputs in one array - Jquery
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1859363/jquery-how-to-load-inputs-values-to-an-array">JQuery. How to load inputs values to an array?</a>  </p>
  </blockquote>
  
  
  
  <p>I would like to retrieve the value of all the inputs in one array, so I put </p>
  
  <pre><code>var inputs = $('input').val();
      var store = [];
      $(inputs).each(function(){
              $(store).push($(this));
              }
      );
  </code></pre>
  
  <p>But, when I put it in my console and alert the content, I get an undefined message. Anybody has an idea ?</p>