Assign a Object to another Object in jQuery
<p>I am trying to assign an object to another other in jQuery but I am getting error. I am quite new to jQuery so all helps are much appreciated. Following is the code i am trying to do.</p>

<pre><code> while ($(obj)) {

        $(obj) = $(obj).children(":first");

    }
</code></pre>

<p>It is trying to traverse through a table.</p>
