using closest().find().text()
<p>Hi guys i previously asked a question and got a good solution. here is the question:</p>

<p><a href="http://stackoverflow.com/questions/2536892/jquery-how-to-find-an-element-which-is-comming-2-elements-before-current-element">http://stackoverflow.com/questions/2536892/jquery-how-to-find-an-element-which-is-comming-2-elements-before-current-element</a></p>

<p>when im using the solution which i got :</p>

<pre><code>paragrafheading.push($(this).closest('&gt; h3').find('&gt; h3').text());
</code></pre>

<p>im getting only [object Object] instead of the element text</p>
