How to save 4 drop down list selections to a cookie, and set drops if cookie present
<p>So I am using jQuery and have setup the jquery cookie plugin.</p>

<p>I have 4 drop down lists on my page, and I want to save the user's selections in a cookie, so when they come back to the page I automatically pre-select their previous selections.</p>

<p>I added a class to all my drop downs "ddl-cookie", and I was just thinking if I could somehow loop through all the drop down lists using the class, and save the selection and also loop to set the selections when the user returns to the page.</p>

<pre><code>$(".ddl-cookie").each(function() {

});
</code></pre>

<p>It seems that given a cookie name, I can save a single key/value in the cookie.</p>

<p>So I'm guessing the only way for me to do this would be to have a comma separated list of drop down list names and values (selection value)?</p>
