Quicker than $('#object:parent').parent().parent().parent()?
<p>sometimes my box.attr('class') is undefined! Is their a quicker way of getting hold of box?</p>

<pre><code>box=$('#eme:parent').parent().parent().parent();//define box
boxclass=box.attr('class');
boxnumber=boxclass.replace('b','');
</code></pre>

<p>by sometimes I mean nine times out of ten this works no problem...</p>

<p>Any clue?</p>
