Selecting a single result by clicking radio button

Selecting a single result by clicking radio button

xuserxuser Posts: 1Questions: 0Answers: 0
edited April 2010 in General
Guys, I am trying to add a radio button column to the search result that comes from the server. For the life of me, I am not able to get it to work for me. I can select the row by clicking on the datarow itself, but clicking on the radio button is not working.

The code below works for the datarow. Please tell me that it is possible.

$("#address_results tbody").click(function(event) {
$(oTable.fnSettings().aoData).each(function (){
$(this.nTr).removeClass('row_selected');
});
$(event.target.parentNode).addClass('row_selected');
});


Thanks
This discussion has been closed.