alert gives [object NodeList]
<p>I have a function in Javascript &amp; jQuery .</p>

<pre><code>dynamic_link = $j('#dynamic_link_add_btn').parent().parent().parent().parent()
                  .children('tbody').html();


function add_tier (t,html_handle){
     alert(html_handle);
     $j(t).parent().parent().parent().parent()
          .children('tbody').append(html_handle);
}
</code></pre>

<p>It is called by <code>onclick="add_tier(this,dynamic_link)"</code>:</p>

<pre><code>&lt;td class="a-right" colspan="4"&gt;
    &lt;button class="scalable add" type="button" id="dynamic_link_add_btn" onclick="add_tier(this,dynamic_link)"&gt;
        &lt;span&gt;Add Extra Links&lt;/span&gt;
    &lt;/button&gt;
&lt;/td&gt;
</code></pre>

<h3>What is it?</h3>

<p>Handles dynamic form fields (appending HTML, to be more precise).</p>

<h3>How should it work?</h3>

<p>It should add the HTML it gets from the <code>dynamic_link</code> variable to the designated place.
It works fine with other rows.
Rows have multiple input boxes and checkboxes.</p>

<h3>What it does right now?</h3>

<p>The alert gives out <code>[object NodeList]</code>.</p>

<h3>What I have tried till now?</h3>

<p>Iterated the <code>NodeList</code>. It doesn't return the HTML (I am not sure that it even does that task).</p>

<p><strong>NOTE:</strong> The form is really a big one. There are many <code>dynamic_link</code> type variables which stores HTML. I have also compared character by character between the working and the not working LOC. </p>

<hr>

<p><strong>Edit</strong>: <code>$j</code> is just the <code>$</code> of jQuery. It's been defined with jQuery.noConflict.</p>
