radio button inside table not working fine

Posted by Klbaiju under jQuery on 4/10/2015 | Points: 10 | Views : 1169 | Status : [Member] | Replies : 0
In my application i have radio button inside an html table.
i wrote the code for click event using jquery like this
$('body').on('click', '.op1', function () {

var id = $(this).attr("id");
var td = $(this).closest('tr').children('td');
var rk = td.eq(0).text();


problem is when i click any radio button it is activating and click another radio button it is also activate and previous one not deacivating.
how to solve this.
here radio button is inside an html table


(No response found.)

Login to post response