jQuery parent element inner HTML

Posted by Anton on Stack Overflow See other posts from Stack Overflow or by Anton
Published on 2010-04-25T11:11:30Z Indexed on 2010/04/25 11:23 UTC
Read the original article Hit count: 410

Filed under:
|
|
|

I am getting inner HTML of element by next way:

$(this).context.innerHTML

Then I am getting parent inner HTML:

$(this).parent().context.innerHTML

But this code returns same values. Any ideas what is wrong?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript