解决方案 »

  1.   

      $("form").find("label").eq(1).find("input[type=checkbox]").click(function(){   
     $this1=$(this).parent().parent().parent().siblings().find("form").find("label");
     $this1.eq(1).find("input[type='checkbox']").hide();
    }也不达到预想效果。
      

  2.   

    $(".shu .c").each(function(){
    $(this).click(function(){
    if($(this).prop("checked")){
    $(".shu .c").prop("disabled",true);
    $(this).prop("disabled",false)
    }else{
    $(".shu .c").prop("disabled",false)
    }
    });
    })给第二个input加上一个c的类
      

  3.   

    这样写  $('.shu :checkbox').each(function(i) {
        if(i % 2) $(this).click(function() {
            var n = 0;
          $('.shu :checkbox').each(function(j) {
            if(j % 2) {
              if($(this).prop("checked")) n++;
            }
          });
          if(n>1) return false;
        });
      });
      

  4.   

    这样写,更简单  $('.shu').each(function(i) {
        $(this).find(':checkbox:eq(1)').click(function() {
          var n = 0;
          $('.shu').each(function() {
            if($(this).find(':checkbox:eq(1)').prop("checked")) n++;
          });
          if(n>1) return false;
        });
      });