首页
IT
登录
6mi
u
盘
搜
搜 索
IT
复选框如何只选中一个按钮
复选框如何只选中一个按钮
xiaoxiao
2021-12-02
37
$(
".no_food_detail input[type=checkbox]"
).bind(
"click"
,
function
()
{
if
(!$(
this
).is(
":checked"
)){
return
false
;} $(
".no_food_detail input[type=checkbox]"
).not(
this
).attr(
"checked"
,
false
); });
转载请注明原文地址: https://ju.6miu.com/read-679619.html
专利
最新回复
(
0
)