title: How do I get the n-th level parent of an element in jQuery?
body: <p>When I want to get, for example, the 3rd level parent of the element I must write <code>$('#element').parent().parent().parent()</code> Is there a more optimal method for this?</p>