[英]Jquery Current radio button click it disable in jqgrid
I am fetching value from database which append to radio button in jqgrid like 我正在从数据库中获取值,该值附加到jqgrid中的单选按钮
formatter: function (cellValue, option){
return '<input type="radio" name="subradio" id="subradio"/>';
}
beforeSelectRow: function (rowid, e) {
getcurrpatta(rowid);
},
Now, the radio button populates if I click a radio. 现在,如果我单击一个单选按钮,则会填充单选按钮。 One function has been called.
已调用一个功能。 But if I click the same radio button again it has to disable no function call again then i go for other click radio button the old one have to enable how to do this???
但是,如果我再次单击相同的单选按钮,则必须再次禁用任何功能,然后我选择其他单击单选按钮,旧的单选按钮必须启用该操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.