我有一段jQuery代码为这是工作在普通的HTML页面,但在JSP页面不能在这里工作动画不工作是我的代码jQuery代码在JSP页面
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
<script src="http://dev.jquery.com/view/trunk/plugins/color/jquery.color.js" type="text/javascript"></script>
<script>
$('#totalCost1').stop().animate({ backgroundColor: '#ffe000' }, 250).animate({ backgroundColor: '#f0f0f0'}, 750);
$('#coop1').stop().animate({ backgroundColor: '#ffe000' }, 250).animate({ backgroundColor: '#f0f0f0'}, 750);
$('#outOfPocket1').stop().animate({ backgroundColor: '#ffe000' }, 250).animate({ backgroundColor: '#f0f0f0'}, 750);
</script>
*不*工作是不是非常有帮助。不工作如何?错误?意外的结果? – alex 2011-05-03 12:21:23
九个月* 24个其他问题*。有鉴于此,您现在应该可以对代码进行格式化。 @alex为你修正了第一个版本,但你最近的修改再次打破了它。查看问题编辑区域右侧的方便**如何格式化**框,以及上面** [?] **中的[链接页面](http://stackoverflow.com/editing-help)问题领域。 – 2011-05-03 12:29:29