Do you use jquery and prototype on the same page randomly?
If so, use jquery noConflict mode, otherwise you are rewriting $ function prototypes.
NoConflict mode is activated as follows:
<script src="jquery.js"></script> <script>jQuery.noConflict();</script>
Note: with this, the dollar sign variable no longer represents the jQuery object. In order not to rewrite all of your jQuery code, you can use this little trick to create a dollar icon area for jQuery:
jQuery(function ($) {
Davo Jul 16 '09 at 2:50 2009-07-16 02:50
source share