Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



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

Answer / chaitanya

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.

Find out more here.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More jQuery Interview Questions

What is jquery mobile theming? : jquery mobile

0 Answers  


What is queue() in jquery? Use of queue() in jquery?

0 Answers  


Is jquery a framework?

0 Answers  


Tell me how to use migrate jquery plugin if possible? : jquery mobile

0 Answers  


What is the use of delegate() method in jquery?

0 Answers  


How to disable jquery animation? : jquery mobile

0 Answers  


Explain the difference between .empty() and .remove() ?

0 Answers  


How to get the server response from an ajax request using jquery?

0 Answers  


What is the difference between $.map and $.grep in jQuery?

0 Answers  


Can you include multiple version of jQuery? If yes, then how they are executed?

1 Answers  


What is $() in jquery library?

0 Answers  


How can you get the type of arguments passed to a function?

0 Answers  


Categories