jQuery clash

scenario:
Using jQuery in combination with other Javascript techniques can cause clashes and non-working functions.

solution:
This issue is a conflict between the Javascript library’s use of $ which results in conflicts, causing some of the functions to stop working when combined.

jQuery.noConflict()(function(){
// code using jQuery
});
// other code using $ as an alias to the other library

source: eyelearn forum post, thanks, Nazim :)
reference: jQuery.noConflict() on api.jquery.com

Comments are closed.