zoukankan      html  css  js  c++  java
  • 【前端】jquery事件

    $(".XXX").on({
    	"click": function() {
    		 
    	},
    	"mouseover": function() {
    		 
    	},
    	"mouseout": function() {
    		 
    	}
    });  

    $(this).css("background", "#fff");
    
    $(".xxx").css("color", "#434343");
    
    $(this).removeClass("sss");
    
    $(this).hasClass("sss");
    
    $(this).addClass("sss");
    
    $(".xxx").hide();
    
    $(".xxx").attr("src", "xxx.png");
    
    var id = $(".xxx").attr("id");
    
    $(".xxx").css("display") == 'none'
    
    $(".xxx").empty();
    
    $.each(aList, function(i, item) {
    if (item.code!= 101) {
    str = str  + item.code;
    }
    });
    
    $(".xxx").append(str);
    
    $(".xxx").trigger("click");
    $(this).attr("style", "color: rgb(0, 49, 255);");
    

      

  • 相关阅读:
    LeetCode
    LeetCode
    LeetCode
    LeetCode
    LeetCode
    LeetCode
    LeetCode
    LeetCode
    iOS开发系列--IOS程序开发概览
    iOS开发系列—Objective-C之Foundation框架
  • 原文地址:https://www.cnblogs.com/defineconst/p/13771588.html
Copyright © 2011-2022 走看看