![]() |
Javascript included in PHP?
I have a PHP code that requires Javascript to run. I have the Javascript code but I'm confused on how to make the Javascript code work with the PHP code. Do I add <script type="text/javascript" src="/javascriptnamehere.js"></script> in the PHP code and if so, where? It would be really helpful if someone could explain that to me. :)
|
Nevermind. I got it to work. :)
|
Glad you figured it out, the most common location to insert javascript is your template html file. The js file can be included in the header.
|
All times are GMT -5. The time now is 08:40 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.