[jQuery] selected html include the selector tag?

[jQuery] selected html include the selector tag?


lets say i have this code:
<div id="test">
    <div class="inner_text">test1</div>
    <div class="inner_text">test2</div>
    <div class="inner_text">test3</div>
</div>
and then i do $('#text div.inner_text:eq(' + index + ')').html() but that
will only select the text(ie test1, test2, test3) is there a way to also
select the tag from th selector(so i would get <div
class="inner_text">test1</div>, etc...)?
--
View this message in context: http://www.nabble.com/selected-html-include-the-selector-tag--tf4406969s15494.html#a12572750
Sent from the JQuery mailing list archive at Nabble.com.