var main_content = $("#main_content");
var toBeTOCced = $("h2,h3,h4,h5", main_content); // there it is
-blair
sebastianw wurtz wrote:
> I want to get all the Heading element up to 5 (ex |h2,h3,h4,h5| )
> inside a div like #main_content
>
> something like this, but inside the #main_content
> |var toBeTOCced = getElementsByTagNames('h2,h3,h4,h5');|
>
> How i can do that with jquery?
>
>
> thanks
>
> Sebastián
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/