// 单选二次点击取消选中$(':radio').click(function () {var r = $(this).attr("name");$(":radio[name=" + r + "]:not(:checked)").attr("tag", 0);if ($(this).attr("tag") == 1) {$(this).prop('checked',false);$(this).attr("tag", 0);}else {$(this).attr("tag",1);}});
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号