Get hidden field value Jquery?
<p>I have the following HTML </p>

<pre><code>&lt;input type="hidden" name="conf1" value="7th IEEE/IFIP International Conference on Embedded and Ubiquitous Computing (EUC-09)"&gt;
    &lt;input type="hidden" name="conf2" value="IEEE International Symposium on Parallel and Distributed Processsing with Applications"&gt;
    &lt;input type="hidden" name="conf3" value="jkhga"&gt;
    &lt;input type="hidden" name="conf4" value="test"&gt;
    &lt;input type="hidden" name="conf5" value="The 3rd International Conference on Adaptive Business Information Systems (ABIS'09)"&gt;

    &lt;input type="text" name="published"&gt;
</code></pre>

<p>And i am trying to get the values of the hidden fields in to an array using jquery. Here is what i have tried:</p>

<pre><code> var conferences = new Array();

        conferences[0] = $('#conf1').val();
        conferences[1] =$("[name='conf2']").val();
        conferences[2] =$("[name='conf3']").val();
        conferences[3] = $("[name='conf4']").val();
        conferences[4] =$("[name='conf5']").val();     
</code></pre>

<p>Can anyone direct me on how to read them?<br>
Thanks in Advance<br>
Dean</p>
