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.holdready() function?

0 Answers  


Why use jQuery filter() Methods?

0 Answers  


How do you disable or enable a form element?

0 Answers  


Does jQuery 2.0 supports IE?

3 Answers  


Tell me does jquery 2.0 supports ie? : jquery mobile

0 Answers  


How do you attach a event to element which should be executed only once?

1 Answers  


How JavaScript and jQuery are different?

1 Answers  


Define the script build up by jquery?

0 Answers  


differentiate between bind() vs live() vs delegate() methods in jquery.

0 Answers  


What are the advantage of using minimized version of jquery?

0 Answers  


How to executed jquery selectors? : jquery mobile

0 Answers  


How do I check if an HTML element is empty using jQuery?

0 Answers  


Categories