Sunday, May 1, 2011

How to use jQuery in Magento aka jQuery Compatible Mode

Magento shop is using PrototypeJS library which is registering $ for itself. jQuery library wants to do the same thing, that's why in order to use jQuery in a website which uses PrototypeJS (or similar library) you need to put it into Compatibility Mode.

Related Stats ARROW ELECTRONICS Related Stats ASML HOLDING IT professional ASUSTEK COMPUTER Multimedia distribution mechanism ATandT

Source: http://de77.com/javascript/how-to-use-jquery-in-magento-aka-jquery-compatible-mode

No comments:

Post a Comment