I want to put PHP code in a JavaScript file, it is not an HTML file. Like for example here:
document.getElementById('lbljour').innerHTML = "Jour " + date_today;
With the PHP code would it be something like this?
document.getElementById('lbljour').innerHTML = <?php echo trad($f_lng,"Jour "); ?> + date_today;