zoukankan      html  css  js  c++  java
  • jquery基础

       show() hide() toggle()
            fadeIn() fadeOut() fadeToggle() fadeTo()
            slideUp() slideDown() slideToggle()  animate({paras | left:'250px'},speed,callback)
            stop()  
            css("color","red")

            text()  设置或返回所选元素的文本内容
            html()  设置或返回所选元素的内容(包括 HTML 标记)   
            val()   设置或返回表单字段的值  input
            attr()  获取属性 attr("href") attr("href","http://www.runoob.com/jquery") //www.baidu.com
            
            append() prepend() after() befor()
            remove() empty()
            addClass() removeClass() toggleClass() css()
            width() height() innerWidth() outerWidth()
            parent() parents() parentsUntil()
            children() find()  
            siblings()  next() nextAll() nextAllUntil() prev() prevAll() prevUntil()
            first() last() eq() filter() not()

  • 相关阅读:
    集合框架(三)
    集合框架(二)
    集合框架(一)
    第九章 持有你的对象
    UML类图
    用a标签设置锚点
    设计原则
    第八章 接口与内部类
    装配Bean
    第33条:用EnumMap代替序数索引
  • 原文地址:https://www.cnblogs.com/lfqcode/p/6234012.html
Copyright © 2011-2022 走看看