joncooper/ptcx — comment on commit 37fcdd0aa1c1e240009a732b5ad167bec0f7d5c1
File:  line 0
By acruikshank:

You might want to make sure this script plays nice with the underlying prototype code. You can do that pretty easily by wrapping your code in:

jQuery.noConflict()
(function( $ ) {
// your code can use jQuery's $ function all it wants here
})(jQuery)

This tells jQuery to make window.$ whatever it was before it was loaded. It then passes jQuery into the function as the '$' parameter so it's at a higher scope than window.$.