Friday, February 28, 2014

Uncaught ReferenceError: $ is not defined?

In addition to all the reasons that the usual Google search reveals, here is a new one:



False:

<script scr="js/silly.js"></script>

Correct:

 <script src="js/silly.js"></script>

Have fun with jQuery and Zepto!

No comments:

Post a Comment