<!-- 引入1.6.4版的jq -->
?<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.js"></script>
?<script>
??var jq164 = jQuery.noConflict(true);
?</script>
?<!-- 引入1.4.2版的jq -->
?<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
?<script>
??var jq142 = jQuery.noConflict(true);
?</script>
<script type="text/javascript">
??(function($) {
???//此时的$是jQuery-1.6.4
???$(‘#header‘);
??})(jq164);
?</script>
?<script type="text/javascript">
??(function($) {
???//此时的$是jQuery-1.4.2
???$(‘#footer‘);
??})(jq142);
?</script>
jquery 版本冲突解决办法
原文地址:http://www.cnblogs.com/chengmingxiaowu/p/7597975.html