$("input:checkbox").prop("checked", function(index, oldValue){ return !oldValue; });
function allCkb(items){ $('[name='+items+']:checkbox').attr("checked", true); }
posted on 2016-04-21 22:56 liucyi 阅读(162) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 liucyi Powered by .NET 9.0 on Kubernetes