Hi I have been trying so hard to do the following on htaccess but it does not seem to work.
can someone out there help me?
AddType application/x-httpd-
If you're trying to make PHP work in Javascript files you can simply rename the Javascript to javascript_file.js.php and have PHP work inside of that.
javascript_file.js.php
You will have no problem including that into your page.
`