Questions tagged [script]
The script tag has no usage guidance.
2
questions
1
vote
1
answer
32
views
Dynamic Title Module Control
I'm using PHP to creata dynamic page title based on the menu item using Sourcer and the following PHP:
<?php
$active = JFactory::getApplication()->getMenu()->getActive();
echo $active->...
1
vote
1
answer
113
views
How to print a php variable to the browser's console?
So within administrator function.
echo("<script>console.log('PHP: " . $data . "');</script>");
It seems it doesn't insert the js script on the page.
This works from a ...