Possible Duplicate:
ReferenceError: Can’t find variable: $
I get this error:
ReferenceError: Can't find variable:
$
Any ideas?
Is the jquery javascript file loaded before you call anything with it -> using the selector $? Please check with Chrome or Firefox+firebug if the jquery library is loaded correctly. Maybe the path could be not correct
After that, try to place your code into:
$(document).ready(function() {
// put all your jQuery goodness in here.
});
This will make sure that '// put all your jQuery goodness in here.' will be executed after jQuery has been loaded.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With