find value of cell value using jquery

find value of cell value using jquery

Hi

I want to find the value of above cell in a grid view using jquery

i tried following code

if ($.trim(cellText) == "0") {
$(this).css('background-color', 'Red');
var $this = $(this);
var $tr = $this.parent();

var col = $tr.children().index($this);
alert(col);


}

above code returns only index value . ineed the value of that cell

how to find out

regards

Baiju