[jQuery] get top most parent

[jQuery] get top most parent


hi, i am stumped so i am posting it here. no luck searching google for
many hours
this is my html code
<div id="firstpane" class="menu_list"> <!--Code for menu starts here--