How i can store javascript array object saved somehow so that I can use it later
<p>I have a situation like follows:</p>

<p>I have a id select page where user can select id from the shown ids on the page.When the user select the id i store them as a comma seperated value in a hidden input field.</p>

<pre><code>      &lt;input type="hidden" values="234,678,987" /&gt;
</code></pre>

<p>I have a button which on clicking pops up a dialog box which then displays the selected ids. The ids here shown I take from the hidden field. 
Now I have a requirement to store the product id and name.So probably in this case what should i do because now i can't be able to save this datastructure in hidden input field. Even if i use javascript array ,how can i save that array and use it future for displaying.Is it possible to save array object in hidden input field ....and retrieve it later as array object again...?</p>
