using closest().find().text()
- by erkan
Hi guys i previously asked a question and got a good solution. here is the question:
http://stackoverflow.com/questions/2536892/jquery-how-to-find-an-element-which-is-comming-2-elements-before-current-element
when im using the solution which i got :
paragrafheading.push($(this).closest('
h3').find(' h3').text());
im getting only [object Object] instead of the element text