JQuery经验汇总

1-用JQuery设置多个css样式 

$("#show_one").css({"position":"fixed","top":"0px","right":"20px"});

2-JQuery 多控件添加相同事件

function easyControl(){
  $("#startDate, #endDate").focus(function(){
    $("#search").prop("checked",true);
  });
}

 

posted @ 2020-07-09 10:15  吴土炮Jared  阅读(131)  评论(0编辑  收藏  举报