jQuery: Getting value from input array
<p>We have the following form:</p>

<pre><code>&lt;form&gt;
...
      &lt;table width="100%" cellspacing="0" class="datagrid_ppal"&gt;
        &lt;tbody&gt;
          &lt;tr&gt;
            &lt;th scope="row"&gt;Area 1 &lt;input name="config_line" type="hidden" value="0,5,50" /&gt;&lt;/th&gt;
            &lt;td class="gantt"&gt; &lt;/td&gt;
            &lt;td class="gantt"&gt; &lt;/td&gt;
            &lt;td class="gantt"&gt; &lt;/td&gt;
            ...
          &lt;/tr&gt;
        &lt;/tbody&gt;
      &lt;/table width="100%" cellspacing="0" class="datagrid_ppal"&gt;
...
&lt;form&gt;
</code></pre>

<p>What we need is to get the first, second or third from the hidden input value. We have tried this and didn't work:</p>

<pre><code>        var value = $('th').children('input:hidden').val();
</code></pre>

<p>Can anyone help us? We would really appreciate it.</p>
