views:

268

answers:

2

Error is $$.shared is undefined. but I'm using prototype.

A: 

Quit using prototype and mootools together, and also quit posting silliness.

rpflo
Quit using answer space to comment.
Gamecat
+1  A: 

(If I understand correctly, you are trying to use Mootools and Prototype on the same page ? )

Using Mootools and Prototype on the same page will not work : you have to choose between one or the other.

Some JS Frameworks (jQuery, for instance) have a "compatibility mode" that allows them to be used alongside another one ; but it's not the case for any of those two.

Pascal MARTIN
As of Mootools version 1.2.3 it is possible for it to work along side other frameworks but its not recommended if you can at all help it. http://mootools.net/blog/2009/06/19/mootools-123-released/
Pete Duncanson
That's good to know! Thanks for the information! (The project I had that problem was using 1.1x of mootools :-( and I had no time to update it...)
Pascal MARTIN