How do I define a variable in javascript with echo function, from the external php file?
We have theconfigfile.php, thejsfile.js an
You can put values in such way only into the files which are processed by PHP. External JavaScript-files are not processed by PHP so they are linked as is without sustitution.