How get value from local variable and object with jquery
<p>I have this:</p>

<pre><code>form = $('#&lt;%= params[:board_id] %&gt;');
var $parent = form.closest(".biscuit").eq(0);
</code></pre>

<p>I want get values for <code>form</code> and <code>$parent</code></p>

<p>If I write:</p>

<p><code>alert($parent).value();</code> or <code>alert(form).value();</code> I get in the alert <code>[object Object]</code>.</p>

<p>How can I get the values for <code>form</code> and <code>$parent</code>?</p>
