how to get first td value of a selected row
how to get first td value of a selected row
dyapasrikanth
Posts: 20Questions: 0Answers: 0
My data is going to be generated from the server side depending upon user search criteria.
When user selects the row then the first td values has to be captured for the future use.
How can i do this.
When user selects the row then the first td values has to be captured for the future use.
How can i do this.
This discussion has been closed.
Replies
$(your_set).find('td:first')
It is not giving correct result
so the initial cursor stage should be positioned at the first row just like a datagrid in ie
$("#BLTable tbody").click(function(event) {
$(JQTable.fnSettings().aoData).each(function (){
$(this.nTr).removeClass('row_selected');
});
$(event.target.parentNode).addClass('row_selected');
GetSelectedRowData(event.target);
});
function GetSelectedRowData(Obj) {
alert(Obj.innerHTML)
}
See.. Enjoy. .