Fork me on GitHub

layui更改单选按钮选中

<input type="radio" class="radio1" checked lay-ignore name="datatype" value="1"> 选项一

 

script

$(“.radio1”).prop(‘checked’,true);
form.render(“radio”);

 

posted @ 2021-12-09 17:57  君乐豹  阅读(304)  评论(0编辑  收藏  举报
Live2D