Extending Joomla to use Jquery

Recently there seems to be a lot of libraries that are being created using Jquery.

Joomla has been traditionally used with theĀ  mootools library. Instead of using this library, I have opted to instead use the Jquery library.

I created a component for myself andĀ  loaded the jQuery library into one of the sub folders of this Joomla component. I further instructed Joomla to load the javascript file.

Keeping my fingers crossed I wrote this syntex in the template file

<script>

jQuery(document).ready(function(){alert(‘hello world’)});

</script>

And Eureka!! It worked. Now I will go on further extending Joomla to create a very user friendly component for my clients which have been facing lots of problems with the counter-intuitive Joomla Administration interface.