ǴģԼҲ¿ã͹.

ע⣺  jquery 1.8֮ǰİ汾1.8ϵİ汾ʹá

ȥ£ԭ£
ַjQuery1.8֮󶼲Ƽʹãٷ1.9ʱѾȡʹlive()ˣԽ鶼ʹon()
bind() 

$("p").bind("click",function(){
alert("The paragraph was clicked.");
});


delegate()

$("#div2").delegate("p","click",function(){
$(this).css("background-color","pink");
});


live()
$("#div2").live("click",function(){
$(this).css("background-color","pink");
});



ȡɫʱ jquery.colorpicker.js  live  on滻ɣ滻 1.8 ϵjquery汾Ҳ.

 jquery.colorpicker.js в live滻Ϊ on ,Ͳ˵
 
