Importing jQuery into Joomla
Joomla content management system is an easy to use CMS. It has the right blend of advanced and user friendly features. Using jQuery you can add more functionality to the Joomla run website. But for this there is a need for importing jQuery into Joomla. Before mentioning how to import jQuery, let us first consider the problems faced while importing jQuery into Joomla.
Some of the main problems faced to import jQuery into Joomla are highlighted below:
Consider the following code to import jQuery into Joomla correctly.
// load jQuery, if not loaded before
$document = JFactory::getDocument();
$document->addScript(JURI::root() . “templates/template_name/js/jquery-1.8.2.js”);
If you are still facing problems while importing jQuery then request a quote.