title: JQuery - list of string
body: <p>In JQuery, why do I get <code>information Undefined</code> with the following code? </p>
  
  <blockquote>
    <p>JS - right part is Undefined</p>
  </blockquote>
  
  <pre><code>var s = $("[name='CountAnswer']").val();
  </code></pre>
  
  <p>HTML</p>
  
  <pre><code>&lt;input style="width:150px" type="text" id="CountAnswer_1_" name="CountAnswer[1]"&gt;
  &lt;input style="width:150px" type="text" id="CountAnswer_2_" name="CountAnswer[2]"&gt;
  &lt;input style="width:150px" type="text" id="CountAnswer_3_" name="CountAnswer[3]"&gt;
  </code></pre>