1.选择器
replaceWith():替换内容
replaceALL():将内容替换到目标元素上
clone()复制元素
append()添加元素
jquery 事件
页面对不同访问者的响应叫做事件
事件处理程序指的是当Html中发生某些事件时所调用的方法
在事件中经常使用术语”触发“(或”触发时“)例如:”当您按下按键时触发keypress事件“
鼠标事件
$("div").mouseover(function(){
$(this).css("background-color","red")
})
$("div").mouseout(function(){
$(this).css("background-color","green")
})
bind绑定事件
bind不支持动态事件绑定
on绑定事件
事件解绑
jquery动画
自定义动画