Jquery与prototype的冲突解决

<script type="text/javascript" src="Js/prototype-1.6.0.2.js"></script>
script type="text/javascript" src="Js/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
	var $j = $.noConflict();  
    	$j(document).ready(function(){  
		console.log("s");
    	}); 
</script>

 

你可能感兴趣的:(jquery,prototype)