Question: uncaught referenceerror function is not defined in jquery?
Answer: 2) The second most common reason of getting "ReferenceError: $ is not defined" in jQuery is due to the incorrect path, either it's a typo or jQuery file is moved to some other location, the browser is not able to load the jQuery file. One solution of this problem is simply to fix the path to jQuery library.