using closest().find().text()

Posted by erkan on Stack Overflow See other posts from Stack Overflow or by erkan
Published on 2010-03-29T12:40:25Z Indexed on 2010/03/29 12:43 UTC
Read the original article Hit count: 291

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript