jquery基础认知

who      what
触发       按钮      点击 (click)
执行       div        动画 (animation)


$(document).ready(function(){

$(“#butten”).click(function(){
$(“.rabbit”).hide( )

}

//function()  这是没有名字的函数。我们可以为其命名为asd。

//即:$(“#butten”).click(function asd(){
})

原文地址:https://www.cnblogs.com/itxdm/p/5479811.html