filling javascript object "on the fly"
<p>HI, i have an object: var myobject = new Object;
and i want to dynamically fill it with properties while looping through jquery input collection in that manner:</p>

<pre><code>$('.test').each(function(){
    myobject.$(this).attr('name') = $(this).val();
});
</code></pre>

<p>what i'm doing wrong here?
thanks in advance</p>
