I have a plugin I want to use, but it depends on the $ identifier, as apposed to using jQuery.
Is it possible to enable the $, to save me recoding the plugin?
EDIT
The plugin automatically adds the javascript, therefore I can’t wrap it.
I have a plugin I want to use, but it depends on the $ identifier, as apposed to using jQuery.
Is it possible to enable the $, to save me recoding the plugin?
EDIT
The plugin automatically adds the javascript, therefore I can’t wrap it.
You must be logged in to post a comment.
Try this:
I think you already know this. But still for reference http://api.jquery.com/jQuery.noConflict/
This should work, I believe:
The code Sisir provided would work, or you can use this code: