通过了 可是没有效果 哪位高手帮我找下错误- -··
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery动画特效</title>
<style type="text/css">
div{width:100px;height:50PX; border:1px solid blue;background:red;
position:absolute;
top:50px;
left:200px;}
</style>
</head>
<body>
<div>我要移动啦</div>
<input id="btn1" type="button" value="左移">
<input id="btn2" type="button" value="右移">
<span></span>
<script type="text/javascript">
$(function(){
$("#btn1").cilck(function(){
$("div").animate({
left:"-=50px"
},3000,function(){
$("span").html("我在左移");
})
});
$("#btn2").cilck(function(){
$("div").animate({
left:"+=50px"
},3000,function(){
$("span").html("我在右移"))
})
})
</script>
</body>
</html>