Magento jQuery
Magento jQuery
Providing you have had some experience with Magento stores you may know that Magento relies heavily on prototype.js and it can be a tricky task to use jQuery along with it.
Portotype.js has a variable $ registered for itself, so when one calls jQuery with $, jQuery tries to register this very variable for oneself causing a conflict with prototype.js.
So what can be done about it?
Instead of calling jQuery with $, to avoid any possible conflicts with prototype.js, one can use the following method:
var $j = jQuery.noConflict();
Compatibility mode implies the use of $j (a reference to jQuery.noConflict();) instead of $ to call the jQuery.
Please note:
It is strongly advised to call first for Prototype and then jQuery.
If you are not sure or feel that you are lacking coding experience we advice referring to a developer team that will assist you with the task.
Services You May Be Interested In

Magento Performance Optimization
