function deepest(e) {
var $t = $(e).children();
while($t.length) {
$t = $t.children();
}
return $t.end();
}
I had to deal with editing a title from a landing page as you completed a form.
Since the page would create a metric ton of wrappers and it would vary every
time, it