Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // load jQuery, if not loaded before
- if(!JFactory::getApplication()->get('jquery')){
- JFactory::getApplication()->set('jquery',true);
- $document =& JFactory::getDocument();
- $document->addScript(JURI::root() . "path_to_file/jquery-1.8.2.js");
- }
- ?>
Add Comment
Please, Sign In to add comment