Sunday, December 17, 2017

Login

Don't have an account yet? Register now!

Create an account

Fields marked with an asterisk (*) are required.

hanif
hanif
Offline
0
I want to load external script in joomla<head></head> tag.how can i load it using joomla way?

Accepted Answer

jguru
jguru
Offline
Thursday, April 24 2014, 01:07 PM - #permalink
0
you can add script using this code

$doc =& JFactory::getDocument();
$doc->addScript("Your Js Path");
The reply is currently minimized Show
Responses (0)
  • There are no replies here yet.
Your Reply