$document = JFactory::getDocument();
$document->addScript('path/to/jquery.js');

Advertisements