//一般放后面,放前面会把后面事件阻止,最好是另起一个
e.stopPropagation();//阻止冒泡事件
e.preventDefault();//阻止默认行为 reset submit a[href]
return false;
//基本事件
//点击事件
// $(".child").click(function(){
// console.log(0);
// })
// //鼠标事件
// $(".child").mousemove(function(e){
// console.log(e.offsetX,e.offsetY);
// })
// //移入
// $(".child").mouseover(function(){
// $(this).css("background-color","red");
// })
// //移出
// $(".child").mouseout(function(){
// $(this).css("background-color","pink");
// })
// //事件切换
// $(".child").hover(function(){
// $(this).css("background-color","red");
// },function(){
// $(this).css("background-color","pink");
// }
// )