Using jQuery and Scriptaculous/prototype together

Congratulations to the jQuery crew for properly documenting this one in their official documentation. However, I didn't find that page with my first search so consider this post my effort to propagate the knowledge.

jQuery uses "$" as a shortcut for "jQuery" and that is generally its only point of conflict with other javascript libraries. You can override that behavior so that jQuery will play nice with others by calling

and then explicitly calling "jQuery" where you would have used "$" to invoke jQuery behavior. Read more on the page referenced above.
Share Comments