top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

You get "jquery is not defined" or "$ is not defined" error. What could be the reason?

+3 votes
173 views
You get "jquery is not defined" or "$ is not defined" error. What could be the reason?
posted Jul 17, 2015 by Shivaranjini

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

There could be many reasons for this.

You have forgot to include the reference of jQuery library and trying to access jQuery.
You have include the reference of the jQuery file, but it is after your jQuery code.
The order of the scripts is not correct. For example, if you are using any jQuery plugin and you have placed the reference of the plugin js before the jQuery library then you will face this error.

answer Jul 20, 2015 by Karthick.c
...