This question already has an answer here:
- TypeError: $ is not a function when calling jQuery function 15 answers
My code:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="http://someothersite.com/external.js"></script>
external.js:
$("head").append(unescape(""));
Unfortunately I am getting the following error when I include my external script:
Uncaught TypeError: $ is not a function
How do I fix this? Please bear in mind I can't edit the external Javascript file as it's third party.