Um, just don't call .html()?

On Sep 8, 3:21 pm, Eridius <[EMAIL PROTECTED]> wrote:
> 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--tf44069...
> Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to