In a php file i have used include to include the following js.php file and prior to that i have included the jquery file.
include
Just had this crop up and it turned out to be a spelling mistake in the script tag:
Note the missing 'a' in javascript. Changing to simply:
Fixed the problem.