[jQuery] get element inside a div simple question

[jQuery] get element inside a div simple question

<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>I want to get all the Heading element up to 5 (ex <code>h2,h3,h4,h5</code>
) inside a div like #main_content
something like this, but inside the #main_content
<pre><code>var toBeTOCced = getElementsByTagNames('h2,h3,h4,h5');</code></pre>
How i can do that with jquery?
thanks
Sebastián
</div></div>
<hr size=1>
<b>Preguntá. Respondé. Descubrí.</b>

Todo lo que querías saber, y lo que ni imaginabas,

está en <b>Yahoo! Respuestas</b> (Beta).

<b><a href="http://ar.answers.yahoo.com">Probalo ya!</a></b> </body></html>_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/