Convert List to Structure Using Javascript or JQuery
<p>I've apologize if this is a trivial task, and I've also been googling and searching high and low for some solution I can get my head around but so far no dice. So anyways....</p>

<p>I have this:</p>

<pre><code>var myList = "key1,value1,key2,value2"
</code></pre>

<p>And I want to populate a struct with this string so I can reference it like this:</p>

<pre><code>alert(myList.key1)  // displays value1
</code></pre>

<p>Thoughts?  There's probably some way to do this with JQuery's <code>.each()</code> perhaps?  I'm seriously lost either way! Maybe just because it's really late and I've been stumbling through familiarizing myself with JS and JQuery again after a long hiatus.  Any help is appreciated!</p>
