I need to retrieve the bottom border width of the cell above the clicked cell.
var $this = $(this);
var col = $this.parent().children().index($this);
var row = $this.parent().parent().children().index($this.parent());
var bordWidth= ($this.parents('tr:eq('+(row-1)+')').find('td:eq('+col+')').css("border-bottom-width"));
Try this.
.prev()will get the previoustrelement and then using.children()get all thetd‘s and get the required td usingeq()method.