Javacript File Inclusion Not working

by Muhammad Muazzam   Last Updated March 28, 2015 13:01 PM

I have followed this thread: What is the best way to include JavaScript file using script tag?

and used the following code in my php file.

<script language="javascript" type="text/javascript" src="js/check.js"></script>

When I call a function inside this file from a php file out of js folder, nothing is being happened. However, when same function put in the same file under Head tag, thats working fine.

Let me know any issue here.

Tags : javascript html

Related Questions

Updated March 27, 2015 07:01 AM

Updated April 24, 2015 02:02 AM

Updated May 20, 2015 21:02 PM

Updated May 29, 2015 23:02 PM

Updated August 10, 2015 17:02 PM