php $document = JFactory::getDocument(); $document->addScript('/media/system/js/sample.js'); ?> The second uses the JHTML class' script method:.
確定! 回上一頁