Answer
$("#MwDataList input[name=selectRadioGroup]:checked").closest('tr');
How to find the closest row?
Using .closest()
:
var $row = $(this).closest("tr");
Using .parent()
:
Check this .parent() method. This is alternative of a .prev()
and .next()
.
var $row = $(this).parent() // Moves up from