jQuery ~ with Prototype

感謝張搞的指導XD

先讀prototype再讀jQuery
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>

<script type="text/javascript" >
$j = jQuery.noConflict();
</script>

然後要用jQuery的功能~~就打$j

這樣用$就是用到prototype~~~$j就是jQuery~~~不錯方便耶XD

http://docs.jquery.com/Using_jQuery_with_Other_Libraries

沒有留言: