Hello I have an old Joomla 2.5
site. I use the jQueryEasy
for optimization and if I dont I get some random mootools error.
My issue is : I want to use the draggable()
method of jQuery UI
.
It seems that the jQueryEasy
doesnt load the correct jQuery UI
( the one with the other libraries like draggable ).
What I tried:
Inside a component's view I tried to load the cdns from jQuery
and jQuery UI
.
<script src="/js/jquery-1.12.4.js"></script>
<script src="/js/jquery-ui-1.12.0.js"></script>
<div id="test">
TEST TEST TEST
</div>
<script>
jQuery(function() {
jQuery("#test").draggable();
});
</script>
No errors , just not working.
Load the same version of jQuery + UI
from the jQueryEasy plugin
.
Same story. No errors , and didnt work.
Created a new file in joomla root folder ( wanted to test a file outside of Joomla Environment )
This worked perfectly. So I reached to the conclusion that the issue here is the jQueryEasy plugin.
Stopped the plugin and tested the 1st step
Worked again.
I cant unpublish the plugin, so is there any other way to load the correct jQuery UI and get my hands on draggable()
method ?