layui中使用jquery控制radio选中事件的示例代码
勾选
form.on('radio(yesHave)', function (data) { $("input[name='hasPrepaidVoucher'][title='有']").attr('checked',true); form.render(); });
取消勾选
form.on('radio(noIssuer)', function (data) { debugger; $("input[name='voucherIssuer']").removeAttr('checked'); form.render(); });
相关推荐
lbPro0 2019-11-03
donghongbz 2019-10-19
89367741 2016-03-30
SinhaengHhjian 2016-01-25
89453862 2015-10-10
aaalk00 2015-03-31
xiuping0 2014-08-11
ruoyiqing 2014-03-18
mapdigit 2013-12-10
pplxh 2013-12-03
limengmeng00 2013-09-27
健康学习 2013-07-29
Allenyhy 2013-06-13
82483564 2013-04-28
88463368 2013-04-24
zhanghaibing00 2020-06-28
MaureenChen 2020-05-25