js 动态绑定事件
jQuery(document.body).on('change', '.singlechx', function () {
var cbxname = $(this).attr("name");
if ($(this).prop("checked") == true) {
$("input[name='" + cbxname + "']").prop("checked", false);
$(this).prop("checked", true);
}
})
浙公网安备 33010602011771号