How to find parent of an element when you can't do $('.element').parent().parent()... ?