I am not too familiar with jQuery.noConflict. I have tried to implement it a couple times, but I feel I am doing it wrong.
Is there a way to set a noConflict with “jquery-1.7.1.min.js”? Do I put it in the actual file, or in the header of my index or both? I have tried to follow examples but I know I am doing it wrong.
Any guidance or quick examples would help me tremendously!
You can either assign it a new alias (as shown above) or call
$.noConflictand only havejQueryavailable for use. If you chose an alias though you must use that new alias every time you want to reference jQuery.Keep in mind though that you can enable noConflict, but still have it available when necessary using an anonymous function: