$(function(){
var intI=0;
$().one("click",function(){
intI++;
$(this).css("font-size"),intI+"px";
})
});
var intI=0;
$().one("click",function(){
intI++;
$(this).css("font-size"),intI+"px";
})
});
2016-03-08
$(“”).show(speed,callback);
speed:是显示速度,可以为 数字(毫秒),或者 normal,fast,slow
callback :回调函数,就是执行完show方法后出发的js 方法
speed:是显示速度,可以为 数字(毫秒),或者 normal,fast,slow
callback :回调函数,就是执行完show方法后出发的js 方法
2016-03-08
//$("li:has('label')").css("background-color", "blue");
// $("li label").css("background-color", "blue");
//$("li>label").css("background-color", "blue");
//$("li:contains('妹纸')").css("background-color", "blue");
四个看下还是有区别的
// $("li label").css("background-color", "blue");
//$("li>label").css("background-color", "blue");
//$("li:contains('妹纸')").css("background-color", "blue");
四个看下还是有区别的
2016-03-07