O'Reilly logo
  • feel lee thinks this is interesting:

<script type="text/javascript" 
src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js"></script>
<script type="text/javascript" 
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

this will cause a JavaScript error: element.dispatchEvent is not a function in prototype.js. Thankfully, jQuery provides a workaround with the jQuery.noConflict() method:

<!DOCTYPE ...
            
        
			

From

Cover of jQuery Cookbook

Note

제이쿼리와 다른 라이브러리와 충돌하지 않도록 설정하기