You want it because you want to go up one and go back.
$(this).parent().prev().prev().html('test');
or like this:
$(this).parent().prevAll(':last').html('test');
or that:
$(this).parent().siblings(':first-child').html('test');
... or you can do it pretty easily without jQuery:
this.parentNode.parentNode.cells[0].innerHTML = 'test';
source
share