ReferenceError can't find variable: $ [duplicate]

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.


wrong url in <script> for jQuery ?


Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.