×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Сергій Савченко
Added: Aug 20, 2014 1:30 PM
Views: 1836
  1. $doc =& JFactory::getDocument();
  2. $doc->addScriptDeclaration("console.log('test');");