方式一:可以控制滚动速度300

 
 $("#id").click(function() {
          $("input[name='?']").prop("checked",$(this).prop("checked"));
          if($("#checkAll").prop("checked")) {
               $("input[name='?']:checkbox").each(function() {
                    $(this).attr("checked", true);
               })
          } else {
               $("input[name='?']:checkbox").each(function() {
                  $(this).attr("checked", false);
               })
          }

 });
 

 方式二:

$(document).scrollTop(400);

 

 

相关文章:

  • 2021-10-03
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2022-02-28
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
  • 2021-10-19
  • 2021-08-27
  • 2021-09-11
相关资源
相似解决方案