Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.


Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

how nice does SilverStripe play with jQuery?


12 Posts   7658 Views


27 September 2008 at 2:43am 121 Posts

yeah im aware of noconflict but in an ideal world there wouldn't be the overhead of loading prototype to begin with! ;) (especially if you dont plan on using it at all!)

Unfortunately I don't get to play in the ideal world :( - we're doing stuff with Magento at the moment which has Prototype+Scriptaculous so deeply baked into the both the backend _and_ frontend that it's next to impossible to use another js framework with it. I've spent most of this morning trying to resolve a conflict between JQuery and their version of Scriptaculous.

Personally I can't wait to see SS move away from Prototype :).


27 September 2008 at 2:50am Community Member, 6 Posts

sounds pretty awful man... the reason im holding off SS for now is exactly that... i'm so deeply entrenched in jquery that it doesn't make sense to learn any of the other libraries atm


4 October 2008 at 7:09am Community Member, 10 Posts

I switched over a bloated frontend site that used Prototype+Scriptaculous to jQuery and the only change I had to make was to use


instead of


in my JavaScript. In this way jQuery is not in conflict, as jam13 indicated. Validation code on custom forms and Security/login works fine.


4 October 2008 at 10:01am Community Member, 6 Posts

great how jQuery works will with others but others not so nicely with jQUery :)

I guess that with last week's Public Announcement that both Microsoft and Nokia are adopting jQUery as their framework we should see an even wider adoption :)