zoukankan      html  css  js  c++  java
  • jquery不包含某个类?

    1 、$('li').not(':even').css('background-color', 'red');  
    
    
    Js代码  
    
    1、 $('li').not(document.getElementById('notli'))  
    
    2  、 .css('background-color', 'red');  
    
    
    Js代码  
    
    1、 $("div").not(".green, #blueone")  
    
    2 、          .css("border-color", "red");  
    
    
    Js代码  
    
    1 、Example: Removes the element with the ID "selected" from the set of all paragraphs.  
    
    2、 $("p").not( $("#selected")[0] )  。
    
    3 、Example: Removes the element with the ID "selected" from the set of all paragraphs.  
    
    4 、$("p").not("#selected")  。
    
    5 、Example: Removes all elements that match "div p.selected" from the total set of all paragraphs.  
    
    6 、$("p").not($("div p.selected"))  。
    
    
    Js代码  
    
    1、 $("#reset").click(function() {  。
    
    2 、  $(':input','#fundingpossibility')  。
  • 相关阅读:
    initData()
    moveUp()
    moveLeft()
    moveDown()
    函数具体分析
    Linux命令学习笔记
    RocketMQ使用记录
    solr安装记录
    centos7下面ruby的升级
    centos7下面装fastdfs
  • 原文地址:https://www.cnblogs.com/BluceLee/p/15220141.html
Copyright © 2011-2022 走看看