复选框如何只选中一个按钮

    xiaoxiao2021-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)