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




        

        
                
__________________________________________________ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas, 
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to