Begginer\'s question.
Can I use PHP in javascript?
For example in jquery,
... ... triggers.eq(1).post(\'
Rename your files with the extension of PHP and then you can use PHP code inside of your file.
Another solution to tell your server to render your JS files as PHP script. For some performance and security reasons it's not recommended.