How to get html of matched element in jquery
Posted
by Mirage
on Stack Overflow
See other posts from Stack Overflow
or by Mirage
Published on 2010-05-21T03:44:31Z
Indexed on
2010/05/21
3:50 UTC
Read the original article
Hit count: 155
I have this html
<div id"test123">
dasd'asdasd
</div>
I want the content of that div box with "<div id="test123">"
itself as well not just innerhtml
I tried $('#test123').html()
But it only gave me inner html
© Stack Overflow or respective owner