到底我的代码哪里错了
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery动画特效</title>
<scrip src="http://libs.baidu.com/jquery/1.9.0/jquery.js" type="text/javascript"></script>
<style>
.ty1{
position:absolute;
left:30px;
width:30px;
color:blue;
background:red;
}
</style>
</head>
<body>
<input id="left" type="button" value="左移">
<input id="right" type="button" value="右移">
<div class="ty1" >sdg</div>
<span></span>
<script type="text/javascript">
$(function(){
$("#left").bind("click",function(){
$("div").animate({left: "-=50px"}, 3000 , function(){
$("span").html('执行完成!');
})
});
$("#right").bind("click",function(){
$("div").animate({
left: "+=50px"
} ,3000, function(){
$("span").html('执行完成');
})
})
});
</script>
</body>
</html>