i managed to get the top most parent regardless which menu item is
clicked using this code

$('#ID_HERE').parents('div.menu_body').prev($('#ID_HERE').parents
('div.menu_body').size()-1)

Reply via email to