zoukankan      html  css  js  c++  java
  • jquery版本变更

    1:.size()方法从jquery1.8版本以后被废弃使用,运用.length替代

    2:.context属性在1.10中已经过时

    3:.live在1.9中被移除

    4:.error()1.8版本已宣告过时,使用.on("error",handler)来替代

    5:.toggle()①在animation中②鼠标事件中绑定两个或多个处理程序绑定到匹配元素,用来执行在交替的点击

    $("li").toggle(function(){
       $(this).css("background","blue"); 
    },function(){
        $(this).css("background","yellow");
    },function(){
       $(this).css("background","red"); 
    })
    

      

  • 相关阅读:
    清理计算机硬盘
    DIY-组装
    go函数类型的使用
    go同步互斥锁
    Go读写文件
    go mod
    go html
    channel
    arp和rarp协议
    自己实现的反射
  • 原文地址:https://www.cnblogs.com/yuanyuan0809/p/5701545.html
Copyright © 2011-2022 走看看