I am trying to include a .js file into a php file. My folder structure looks like this:
root
---js (FOLDER)
------file.js
---blog (FOLDER)
------index.php
------js (FOLDER)
---------blog.js
Ben kullanıyorum eğer:
<script type="text/javascript" src="../js/blog.js"></script>
gayet güzel çalışıyor.
What I can't seem to do is include file.js from under the root's "js" directory. I've tried everything I can think of but I just can't seem to make it work.